|
|
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
|
|
Note: You must be registered in order to post a reply.
|
T O P I C R E V I E W |
peterphelan |
Posted - Apr 11 2009 : 00:48:04 I am using a php script on my web server to process newsletter sign ups and MLK is unable to process the form data. It recognises the mail on the server and the number of emails there but no data is entered into the database. What encoding method is required for MLK to parse the info?
This is what my forms use as a default. Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: base64
A simple Subscribe email from my email client to the newsletter address adds the name and email to the database ok, but I would like to add form data.
Thanks Peter
Peter Phelan Prophoto Ltd Prosoft Digital Ltd www.prophoto-international.com www.tele-prompt.com |
3 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Apr 16 2009 : 13:21:54 Hi Peter
It is better to use plain text if possible, as with html you can never be 100% sure what you are getting (i.e. due to hidden markup code in the HTML).
I haven't seen a form yet that MLK would not process, so if you continue to have problems please send me a debug log. I'll email you the details.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
peterphelan |
Posted - Apr 16 2009 : 03:29:49 Hi Nigel,
I have everything set up the same as in your tutorial; I merely mentioned the subscribe aspect since I used this as a simple test to see how MLK handled this.
If I collect the sign up mail via my normal email client - The Bat, everything works fine and all form fields are shown correctly.
I have the php script set up to send both raw text and html format sign up mail, so maybe only sending pure text data might help? I only resally need both formats in the confirmation signup mail to the registrant.
Otherwise could MLK parse the info from the correctly downloaded Bat form data? Or is this only possible using an Outlook folder?
Peter
Peter Phelan Prophoto Ltd Prosoft Digital Ltd www.prophoto-international.com www.tele-prompt.com |
xequte |
Posted - Apr 11 2009 : 15:02:17 Hi Peter
If only the name and email are being processed then you can assume that MLK is processing the message as a normal subscribe request (getting the name and email from the sender field) and not as a web form (reading fields in the message body).
1. Ensure your web form submission message does not look like a normal command message. I.e. if it has the subject "SUBSCRIBE" then MLK will process it as a subscribe request, not a web form
2. Check you have specified valid settings under View > Options, Web Forms.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
|
|
| |