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.0SendMail Method in DNNSendMail Method in DNN
Previous
 
Next
New Post
5/17/2008 9:50 PM
 

Yeah I don't know what the deal is.  I didn't have this problem in DNN3 and now I do in DNN4.  I strongly suspect the issue is with the SendMail function.


I'm too poor for anything other than the community version
 
New Post
6/1/2008 12:32 PM
 

Here's a shocker...  I was wrong.  It works like it's supposed to.  My host was migrating over the email server settings.  My apologies all around...


I'm too poor for anything other than the community version
 
New Post
6/2/2008 3:20 AM
 

 glad you solved it!


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/27/2010 3:53 PM
 
Hi All,

I have an issue with the sendMail method. I have a requirement where the user can enter his any of email account(gmail,rediff or any account) in the from address and send email anonymously. So i used the below method and tried. i do not get any error an i get that the message was sent successfully...But the receiver is not getting any mail. i also tried option 2 which is the same case. Can anyone please advise what is the mistake being done here.

option 1 :

DotNetNuke.Services.Mail.Mail.SendMail(txtEmailFrom.Text.Replace(vbCrLf, ";"), txtEmailTo.Text.Replace(vbCrLf, ";"), "", strMailSubject, strMailBody, "", "Html", "", "", "", "")

option 2:

DotNetNuke.Services.Mail.Mail.SendMail(txtEmailFrom.Text.Replace(vbCrLf, ";"), txtEmailTo.Text.Replace(vbCrLf, ";"), "", strMailSubject, strMailBody, "", "Html", "", "", "username", "password") . Here the username and password are ones that are retrieved from host settings.

Appreciate any immediate help. Thanks in advance.

-Sri.
 
New Post
5/28/2010 4:49 AM
 
Sri check that your host allows email to be relayed. When you are sending email from a address not connected to that domain, relaying needs to be enabled. Another issue will be that other SMTP servers will detect that a different SMTP server then the claiming sender email address was used and detect it as spam. One option you could consider is to use the sendmail overload that takes a reply-to address and use the sender there and the host for the real sender.

HTH's
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0SendMail Method in DNNSendMail Method in DNN


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