Xequte User Forums
Xequte User Forums
Profile | Join | Active Topics | Search | Forum FAQ
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

     
Forum Tips
» This forum is for users to discuss their software problems and suggestions for improvement.  Remember that only a tiny percentage of our users experience such problems (To be precise less than 0.7% have ever posted on this forum)
» Include your software version number (as displayed in the About Box)
» Check the FAQ before posting as most common questions have already been answered
» You don't need to also e-mail us separately as our support team will respond to all questions on this forum
 
 All Forums
 Xequte User Forums
 MailList King
 Subscribe email text parsing not working
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

carl henrickson

USA
6 Posts

Posted - Dec 05 2011 :  06:43:24  Show Profile  Reply
I must be missing something. I cannot get the automatic subscribe to "read" the formmail from our hosting service.

Version:10.52R

We use Bluehost.com as our hosting site. They offer a form mail app called blueform. I don' believe that part is an issue. The email text is pasted below. Any ideas for me?

"Your BlueMail form has been completed, following are the results:
Field Value subject Message from BlueMail recipient
newemail@ourwebsite.com Verbosity Normal Action SUBSCRIBE Email:
carl@ourwebsite.com Name: carl StreetAddress: City: State: Zip:

xequte

7042 Posts

Posted - Dec 05 2011 :  15:32:15  Show Profile  Reply
Hi Carl

Does the email actually have all the fields on the same line like that? Or do you get one field/value per line?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

carl henrickson

USA
6 Posts

Posted - Dec 05 2011 :  17:45:45  Show Profile  Reply
Yes, the text is a simple cut and paste from the email received.

From your question, I am assuming the text needs to be on a separate line for each line on the form?

Carl
Go to Top of Page

xequte

7042 Posts

Posted - Dec 06 2011 :  02:25:54  Show Profile  Reply
Hi Carl

MLK requires the field/value pairs to be on separate lines or delimited in some way such as multiple spaces or tabs, otherwise there is no reliable way to determine the end of one field and the start of another.





Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

carl henrickson

USA
6 Posts

Posted - Dec 06 2011 :  05:31:06  Show Profile  Reply
I have delimited the fields with a colon. In the email above it is email: carl@outwebsite.com.

I have marked the colon as the delimiter in MLK.

What are the delimiter parameters?

Carl
Go to Top of Page

xequte

7042 Posts

Posted - Dec 08 2011 :  02:44:18  Show Profile  Reply
But is each field/value on a new line, e,g.

recipient: newemail@ourwebsite.com
Verbosity: Normal
Action: SUBSCRIBE
Email: carl@ourwebsite.com
Name: carl StreetAddress:
City:
State:
Zip:

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

carl henrickson

USA
6 Posts

Posted - Dec 10 2011 :  11:03:38  Show Profile  Reply
Nigel,

That seems to have done it. At least I received the notice that I was being sent a double opt-in message. That was as expected.

My big challenge at the moment is to produce an outbound email that includes the CR/LFs at the appropriate spot(s). When I use MLKs form builder and add it to my web site, it sends out an email as a single string of text.

My work around is to manually add the CR/LFs to the string of text and then forward it to myself. Seems that the BlueMail form mail application from my web host does not recognize the array of CR/LFs in the variety of coding optins that are out there. Things like \r\n don't work at all. Unless, of course, I have missed something in my html code. That's always a possibility.

Any ideas on that one would be appreciated.

Carl

Go to Top of Page

xequte

7042 Posts

Posted - Dec 10 2011 :  13:40:10  Show Profile  Reply
Hi Carl

That would be the nature of the formmail script that your ISP provides you. If you can't modify their script and/or they are not willing to advise you how to do so then:

- Sign up for a formmail service on the web and post to that (these are often free).

- Download a new formmail script and put it into your cgi-bin folder and post to that



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

carl henrickson

USA
6 Posts

Posted - Dec 12 2011 :  08:56:36  Show Profile  Reply
I get the CR/LF issue. In fact things are working as expected. So that raises the question, how do the delimiters themselves work? If I designate | to be a field delimiter in the Options section, what do they do for me?

Carl
Go to Top of Page

xequte

7042 Posts

Posted - Dec 12 2011 :  16:02:29  Show Profile  Reply
Hi Carl

By delimiter I assume you mean the character that separates a field and its value, correct?

If so, you are simply advising MLK where a field ends and the value starts, e.g. in the example:

Name: Carl Henrickson

The character is a colon (:)

And in the following it is an equals:

Email=newemail@ourwebsite.com

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

carl henrickson

USA
6 Posts

Posted - Dec 14 2011 :  07:03:19  Show Profile  Reply
Nigel,

It is now working as advertised. Quite cool.

A brief recap for those other readers of this thread. The emails were coming in from Bluehost's Formmail system as HTML. I set a formmail command to have them sent as text. That did it. The CR/LF were where the system needed them and MLK is now taking charge of our mailing list growth.

Carl
Go to Top of Page

xequte

7042 Posts

Posted - Dec 17 2011 :  12:05:40  Show Profile  Reply
Excellent, Carl

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To: