0

SendEmail and I currently want to add in a reply-to address.

Currently I've got

DNN.SendEmail(fromAddress, toAddress, subject, body)

and I noticed in the answer to this question (link below) there is an optional reply-to, but it does't appear to be coming up for me.

Difference between DotNetNuke.Services.Mail.Mail.SendEmail and DotNetNuke.Services.Mail.Mail.SendMail

Any ideas on how to get the reply-to?

Thanks,

Community
  • 1
  • 1
thegunner
  • 6,883
  • 30
  • 94
  • 143

1 Answers1

0

The method is as follows:

Mail.SendEmail("replyto@email.com", "from@email.com", "to@email.com", "Subject", "BODY");

For some reason they call it "from Address" and "sender address"

box86rowh
  • 3,415
  • 2
  • 26
  • 37