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 #23571 is a reply to message #23557] Sun, 01 November 2009 10:26 Go to previous messageGo to previous message
alex100 is currently offline  alex100
Messages: 118
Registered: November 2007
Experienced Member
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

[Updated on: Sun, 01 November 2009 10:41]

Report message to a moderator

 
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: Sat Aug 02 16:34:16 CEST 2025

Total time taken to generate the page: 0.08919 seconds