Monday, June 8, 2015

the canned way to send an email with DotNetNuke from C#

DotNetNuke.Services.Mail.Mail.SendEmail(from, to, subject, body);

In this from, to, subject, body are all just strings for what you'd think they'd be for and DotNetNuke.Services.Mail. leading up to the second Mail are the namespace for the second Mail. This touches on where the SMTP settings are set.

No comments:

Post a Comment