By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,330 Members | 1,252 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,330 IT Pros & Developers. It's quick & easy.

SMTP- Email to Fax

P: n/a
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 = "";

= "fax=15196666666/bc=test/to=Me/st=0/en=23/fr=Me/cp=true/

objMail.Subject = datBillingCycle.ToString("mmmm") + " "
+ datBillingCycle.ToString("yyyy") + " DRN Billing

objMail.Attachments.Add(new MailAttachment

objMail.Body = "text goes here";

SmtpMail.SmtpServer = "";


objMail = null;
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Rob <rg******> wrote:
Everything is being populated properly just like it
should be.

It works fine if i reference the MAPI control it sends
perfectly fine.

Very bizarre. Time to sniff the network, I reckon...

Jon Skeet - <sk***>
If replying to the group, please do not mail me too
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.