T tomazc Member Licensed User Longtime User Nov 9, 2017 #1 It always sends as user name thus the SMTP server rejects the MAIL FROM command when user name is not the e-mail address. The problem is in SMTPWraper: client.setSender(SMTPWrapper.this.user);
It always sends as user name thus the SMTP server rejects the MAIL FROM command when user name is not the e-mail address. The problem is in SMTPWraper: client.setSender(SMTPWrapper.this.user);
Erel B4X founder Staff member Licensed User Longtime User Nov 9, 2017 #2 Please test it with v1.76: https://www.b4x.com/android/forum/threads/updates-to-internal-libaries.48274/#post-544111
Please test it with v1.76: https://www.b4x.com/android/forum/threads/updates-to-internal-libaries.48274/#post-544111
T tomazc Member Licensed User Longtime User Nov 9, 2017 #3 Thank you for the quick fix. It works now with only email address set to Sender, but "name<name@email.com>" does not work how ever as it is sent to server as "<name<name@email.com>>".
Thank you for the quick fix. It works now with only email address set to Sender, but "name<name@email.com>" does not work how ever as it is sent to server as "<name<name@email.com>>".
Erel B4X founder Staff member Licensed User Longtime User Nov 10, 2017 #4 I will test it. Might require another field.
Erel B4X founder Staff member Licensed User Longtime User Nov 13, 2017 #5 Try v1.77: https://www.b4x.com/android/forum/threads/updates-to-internal-libaries.48274/#post-545065 It adds a new MailFrom field. This field is used in the MAIL command and it should be the email address without the name.
Try v1.77: https://www.b4x.com/android/forum/threads/updates-to-internal-libaries.48274/#post-545065 It adds a new MailFrom field. This field is used in the MAIL command and it should be the email address without the name.