R
Rob
I currently have a cfmail tag sending email 2 fax emails
to protusfax server. When i try to use the
System.Web.Mail object from CSharpe to send this email to
fax it generates the following error:
The server rejected one or more recipient addresses. The
server response was: 501 5.5.4 Invalid Address.
Any Ideas?
Here is my code:
using System.Web.Mail;
MailMessage objMail = new MailMessage();
objMail.From = "(e-mail address removed)";
objMail.To
= "fax=15196666666/bc=test/to=Me/st=0/en=23/fr=Me/cp=true/
[email protected]";
objMail.Subject = datBillingCycle.ToString("mmmm") + " "
+ datBillingCycle.ToString("yyyy") + " DRN Billing
Invoice";
objMail.Attachments.Add(new MailAttachment
("C:\test.pdf"));
objMail.Body = "text goes here";
SmtpMail.SmtpServer = "127.0.0.1";
SmtpMail.Send(objMail);
objMail = null;
to protusfax server. When i try to use the
System.Web.Mail object from CSharpe to send this email to
fax it generates the following error:
The server rejected one or more recipient addresses. The
server response was: 501 5.5.4 Invalid Address.
Any Ideas?
Here is my code:
using System.Web.Mail;
MailMessage objMail = new MailMessage();
objMail.From = "(e-mail address removed)";
objMail.To
= "fax=15196666666/bc=test/to=Me/st=0/en=23/fr=Me/cp=true/
[email protected]";
objMail.Subject = datBillingCycle.ToString("mmmm") + " "
+ datBillingCycle.ToString("yyyy") + " DRN Billing
Invoice";
objMail.Attachments.Add(new MailAttachment
("C:\test.pdf"));
objMail.Body = "text goes here";
SmtpMail.SmtpServer = "127.0.0.1";
SmtpMail.Send(objMail);
objMail = null;