A Adilson Jacinto Active Member Licensed User Longtime User Sep 25, 2015 #1 Hi all, I am trying to send an email using my server information but it does not work. This how i am doing it. B4X: sendMail.Initialize("server.privatedns.com", 587, "support@xxxxx.com", "xxxxx", "sendMail") sendMail.StartTLSMode = True sendMail.UseSSL = False sendMail.Subject = "Welcome to IQB App: Activation Code" sendMail.To.Add("xxxxx@hotmail.com") sendMail.Sender = "Test" sendMail.Body = "test" sendMail.Send The following does not throw any errors it just don't send the email, and cannot even see what is happening. Any ideas? Thanks
Hi all, I am trying to send an email using my server information but it does not work. This how i am doing it. B4X: sendMail.Initialize("server.privatedns.com", 587, "support@xxxxx.com", "xxxxx", "sendMail") sendMail.StartTLSMode = True sendMail.UseSSL = False sendMail.Subject = "Welcome to IQB App: Activation Code" sendMail.To.Add("xxxxx@hotmail.com") sendMail.Sender = "Test" sendMail.Body = "test" sendMail.Send The following does not throw any errors it just don't send the email, and cannot even see what is happening. Any ideas? Thanks
Erel B4X founder Staff member Licensed User Longtime User Sep 27, 2015 #2 Are you handling the MessageSent event? What is the output of Log(LastException)? Upvote 0
A Adilson Jacinto Active Member Licensed User Longtime User Sep 28, 2015 #3 Erel said: Are you handling the MessageSent event? What is the output of Log(LastException)? Click to expand... How can I handle the MessageSent event? I didn't see that in the tutorial. Hi @Erel Its all sorted now.. Thanks Last edited: Sep 28, 2015 Upvote 0
Erel said: Are you handling the MessageSent event? What is the output of Log(LastException)? Click to expand... How can I handle the MessageSent event? I didn't see that in the tutorial. Hi @Erel Its all sorted now.. Thanks