B borreri New Member Licensed User Longtime User Jan 30, 2013 #1 Hi, I'm developing a GPS application that get the GPS position and send it as a Google Map URL. The goal is to receive an email with a link inside that refers directly to a map, in order to show my position. The problem is that I generate with B4A the following string (checked with a message box): "http://maps.google.com/maps?q=44.81814723,10.2855763&ll=44.81814723,10.2855763&z=14" after sendig it with SMTP.To.Add ([email protected]) SMTP.Subject = "GPS - Actual Position" SMTP.HtmlBody = False SMTP.Body = message SMTP.Send the string in the mail becomes: As you can see, after the "equal" the next char is wrong. tested with SMTP.HtmlBody = False or with SMTP.HtmlBody = True same wrong result. The actual workaround is to insert two "space" after the "equal"
Hi, I'm developing a GPS application that get the GPS position and send it as a Google Map URL. The goal is to receive an email with a link inside that refers directly to a map, in order to show my position. The problem is that I generate with B4A the following string (checked with a message box): "http://maps.google.com/maps?q=44.81814723,10.2855763&ll=44.81814723,10.2855763&z=14" after sendig it with SMTP.To.Add ([email protected]) SMTP.Subject = "GPS - Actual Position" SMTP.HtmlBody = False SMTP.Body = message SMTP.Send the string in the mail becomes: As you can see, after the "equal" the next char is wrong. tested with SMTP.HtmlBody = False or with SMTP.HtmlBody = True same wrong result. The actual workaround is to insert two "space" after the "equal"
Erel B4X founder Staff member Licensed User Longtime User Jan 31, 2013 #2 The SMTP library doesn't modify the body in any way. Try it with a different mail server or a different mail client.
The SMTP library doesn't modify the body in any way. Try it with a different mail server or a different mail client.
B borreri New Member Licensed User Longtime User Feb 2, 2013 #3 Tested with different SMTP server and client Erel said: The SMTP library doesn't modify the body in any way. Try it with a different mail server or a different mail client. Click to expand... Hi Herel, I tested the application with different SMTP (example also with gmail SMTP) and with different approach (example with SSL) the result is the same Other test: if I insert the above string in the SMTP.Subject it arrives perfectly on the destination mailbox Other clients: Tested with different client: Outlook, OWA, Mozilla Thunderbird, Opera
Tested with different SMTP server and client Erel said: The SMTP library doesn't modify the body in any way. Try it with a different mail server or a different mail client. Click to expand... Hi Herel, I tested the application with different SMTP (example also with gmail SMTP) and with different approach (example with SSL) the result is the same Other test: if I insert the above string in the SMTP.Subject it arrives perfectly on the destination mailbox Other clients: Tested with different client: Outlook, OWA, Mozilla Thunderbird, Opera
Erel B4X founder Staff member Licensed User Longtime User Feb 3, 2013 #4 I see it now. It is related to the message encoding. I've uploaded v1.31 which fixes this issue: http://www.b4x.com/forum/additional...upport-pop3-top-stat-commands.html#post120421
I see it now. It is related to the message encoding. I've uploaded v1.31 which fixes this issue: http://www.b4x.com/forum/additional...upport-pop3-top-stat-commands.html#post120421