Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DotNetNuke Service Send EmailDotNetNuke Service Send Email
Previous
 
Next
New Post
10/20/2008 12:56 PM
 

Dear DNN user,

I'm using VS2008 develop a send email module. I know DotNetNuke.Services.Mail.Mail.SendMail is use for sending out the email. I want to ask two question:

1: if using localhost and NO IIS(but got internet connection) , is it possible to test my module to send out email(provided no error)?

2: DotNetNuke.Services.Mail.Mail.SendMail("From", "TO", "Bcc", "Subject", "Body", "Attachment", "Body Type", "SMTP Server", "SMTP Authentication", "SMTP Username", "SMTP Password"). Do i need to configure my host SMTP setting also? Can i leave "SMTP Authentication", "SMTP Username", "SMTP Password" blank if i got configure my host SMTP setting?

 

Thanks in Advance and Have a Nice day :)

 
New Post
10/20/2008 1:24 PM
 

To answer your first question, so far as I understand it, so long as the web server (your development machine in this case) can reach the SMTP server, you should be fine.

For the second question, you can leave all of the SMTP settings blank (String.Empty) and the method will fill those in with the values from your host settings.

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DotNetNuke Service Send EmailDotNetNuke Service Send Email


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out