Author |
Topic |
|
carl henrickson
USA
6 Posts |
Posted - Dec 05 2011 : 06:43:24
|
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
7504 Posts |
Posted - Dec 05 2011 : 15:32:15
|
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
|
|
|
carl henrickson
USA
6 Posts |
Posted - Dec 05 2011 : 17:45:45
|
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 |
|
|
xequte
7504 Posts |
Posted - Dec 06 2011 : 02:25:54
|
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
|
|
|
carl henrickson
USA
6 Posts |
Posted - Dec 06 2011 : 05:31:06
|
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 |
|
|
xequte
7504 Posts |
|
carl henrickson
USA
6 Posts |
Posted - Dec 10 2011 : 11:03:38
|
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
|
|
|
xequte
7504 Posts |
Posted - Dec 10 2011 : 13:40:10
|
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
|
|
|
carl henrickson
USA
6 Posts |
Posted - Dec 12 2011 : 08:56:36
|
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 |
|
|
xequte
7504 Posts |
Posted - Dec 12 2011 : 16:02:29
|
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
|
|
|
carl henrickson
USA
6 Posts |
Posted - Dec 14 2011 : 07:03:19
|
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 |
|
|
xequte
7504 Posts |
|
|
Topic |
|