luke2012 Well-Known Member Licensed User Longtime User Feb 9, 2013 #1 Hi to all, I have a couple of questions about SMTP reganding account and sending mails. 1) It's possible to check if an account is valid ? I mean user name & password are valid for the authentication. 2) It's possible to catch the gmail (I'm using a gmail smtp server) response in order to known if the mail has been sent without problems?
Hi to all, I have a couple of questions about SMTP reganding account and sending mails. 1) It's possible to check if an account is valid ? I mean user name & password are valid for the authentication. 2) It's possible to catch the gmail (I'm using a gmail smtp server) response in order to known if the mail has been sent without problems?
Erel B4X founder Staff member Licensed User Longtime User Feb 10, 2013 #2 The answer to both questions is that you need to handle the MessageSent event and check the value of Success parameter. If it is false then LastException will hold the error message. The username and password can only be checked when a message is sent. Upvote 0
The answer to both questions is that you need to handle the MessageSent event and check the value of Success parameter. If it is false then LastException will hold the error message. The username and password can only be checked when a message is sent.
desof Well-Known Member Licensed User Longtime User Jun 8, 2013 #3 As the library is added to SMTP?? :sign0013: Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 9, 2013 #4 I'm sorry but I do not understand the question. Please start a new thread for your question. Upvote 0