Search

Index

Revindex Task Scheduler

Send email (Razor C#)

To send email, you can simply use the following Razor (C#) statements to call your DotNetNuke Sendmail service using the same SMTP host as your portal:

@{
  DotNetNuke.Services.Mail.Mail.SendMail("from@example.com", "to@example.com", "bcc@example.com", "Subject", "TextBody", "", "", "", "", "", "");
}


Comments


Powered by Revindex Wiki