Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Sending an email from Upp application
Re: Sending an email from Upp application [message #23572 is a reply to message #23571] Sun, 01 November 2009 11:43 Go to previous messageGo to previous message
forlano is currently offline  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!");


Thanks a lot

Alex


Hi,

perhaps this post
http://www.ultimatepp.org/forum/index.php?t=msg&&th= 1529&goto=5785#msg_5785
may help.

Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MenuBar::Execute isn't modal?
Next Topic: Problem with TopWindow and Widgets using Layout editor
Goto Forum:
  


Current Time: Sun Aug 03 02:37:39 CEST 2025

Total time taken to generate the page: 0.07271 seconds