Sending Mail from inside Sitefinity 4.0

Posted by Community Admin on 04-Aug-2018 15:14

Sending Mail from inside Sitefinity 4.0

All Replies

Posted by Community Admin on 14-May-2011 00:00

Assume I've set up the smtp settings in admin.

What is the simplest way of creating and sending an email?

-- 
Stuart

Posted by Community Admin on 16-May-2011 00:00

Hi Stuart ,

You can use EmailSender.Send method

EmailSender sen = EmailSender.Get();
sen.Send(new MailMessage(new MailAddress("mail"), new MailAddress("imail")));

Kind regards,
Ivan Dimitrov
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 16-May-2011 00:00

Ivan,

Thanks for that. I'll give it a shot.

-- 
Stuart

This thread is closed