Hi, I`m doing a user registration in an SQL database through PHP. It works perfectly, but I`m sending a verification link with B4A and the url is getting corrupted for some reason.
The = after cardid is getting lost/changed, as I`m losing the first 2 characters of the code. It happens when reading on Outlook on PC, and on Yahoo webmail.
B4X:
Dim my_msg As String
SMTP1.To.Add(XXXXXXXX)
SMTP1.Subject = XXXXXXX
My_msg = .....
my_msg = my_msg & EncDec.AESEncrypt(XXXXXXXX)
SMTP1.Body = my_msg
SMTP1.Send
This is one of the strings I`m sending, via SMTP http://www.XXXXXXX/XXXXXXX/register2.php?Action=Mail&cardid=AA9290041B1CED2A6297828077BC7FD9ADDDE05A17BED25D5889F55F658BA14B
Going back to basics, and put my message into an HTML editor and it views fine, and the URL is correct...so either B4A is messing with it or the email server is....
Hi all, if you have sign equal in SMTP you have problem, same thing with form feed etd. Example this code: Dim testo As String testo = $"Look this link: https://play.google.com/store/apps/details?id=com.etc"$ 'Send Email SMTP.To.Add($"${edt_email.Text}"$) SMTP.Subject =...
sorry i couldn't help. you seem to have things under control now, but i wanted to say that i can get "success" after mailing your html to myself, retrieving it on b4a and clicking on the link to your server. after a number of "parameter errors", you should see a "success" on your server log at about 0340h gmt. that was me.