Smtp Details for DotnetNuke

Smtp Details for DotnetNuke

1. Get SMTP details of DotNetNuke

public  string SmtpDetail()
{
string userName = DotNetNuke.Entities.Host.Host.SMTPUsername + “#” +
DotNetNuke.Entities.Host.Host.SMTPPassword + “#” +
DotNetNuke.Entities.Host.Host.SMTPServer + “#” +
DotNetNuke.Entities.Host.Host.EnableSMTPSSL;

return userName;
}

2. Call this function and get the result

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply