forlano Messages: 1213 Registered: March 2006 Location: Italy
Senior Contributor
alex100 wrote on Sun, 01 November 2009 10:26
Thank you.
Please, how do i make the autentication on the mail server, to send login and password?
I see that there is a class WebUser but how to i "link" this class to the SmtpMail class to do autentication at email server?
I have this code, but does nothing.
SmtpMail mail;
mail.Host("smtp.gmail.com");
mail.Port(587);
mail.To("alex@gmail.com");
mail.From("alex@gmail.com");
mail.Subject("Upp email test");
mail.Text("This is an email sent from an upp app");
mail.Send();
PromptOK("Email Done!");