System.Net.Mail 550 SMS

  • Thread starter Thread starter Joe Reiss
  • Start date Start date
J

Joe Reiss

Hi all,

I'm using the System.Net.Mail namespace to set up a SMTP sendmail. This
works for the most part, however, when I try to send email to a cell phone
text msg. via the Verizon 'vtext' Gateway it fails with a 550 relay error
msg.

I've had this problem in the past with Delphi/Indy SMTP component. The
problem there was that the component was blacklisted by Verizon for previous
use by spammers. The fix was to get rid of the X-Library line in the mail
header.

Is there a similar problem with this namespace?

Thanks,
Joe
 
Joe,

I don't think that there is. You should be able to set up a packet
sniffer easily enough to see the traffic that is being sent to the mail
server.

Once you set it up, you should be able to see the headers pretty easily
and determine if there is anything fishy about the headers.

AFAIK, there isn't any special header that the component sends.

Hope this helps.
 
Something is different.

I can send an email to my cell phone with (e-mail address removed) from Outlook:
it shows up as a text message.

I can do the same with my Delphi program using the INDY/SMTP component.

I can send 'normal' emails using the System.Net.Mail / smtpclient from c#,
so I know i'm using it correctly.

However, it fails with a 550 when doing it to vtext.

Thanks,
Joe


Nicholas Paldino said:
Joe,

I don't think that there is. You should be able to set up a packet
sniffer easily enough to see the traffic that is being sent to the mail
server.

Once you set it up, you should be able to see the headers pretty easily
and determine if there is anything fishy about the headers.

AFAIK, there isn't any special header that the component sends.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Joe Reiss said:
Hi all,

I'm using the System.Net.Mail namespace to set up a SMTP sendmail. This
works for the most part, however, when I try to send email to a cell
phone text msg. via the Verizon 'vtext' Gateway it fails with a 550 relay
error msg.

I've had this problem in the past with Delphi/Indy SMTP component. The
problem there was that the component was blacklisted by Verizon for
previous use by spammers. The fix was to get rid of the X-Library line
in the mail header.

Is there a similar problem with this namespace?

Thanks,
Joe
 
Joe,

Did you check the headers with a sniffer, or can you see them in your
phone? Obviously, something is different, but it's a matter of finding it.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Joe Reiss said:
Something is different.

I can send an email to my cell phone with (e-mail address removed) from Outlook:
it shows up as a text message.

I can do the same with my Delphi program using the INDY/SMTP component.

I can send 'normal' emails using the System.Net.Mail / smtpclient from c#,
so I know i'm using it correctly.

However, it fails with a 550 when doing it to vtext.

Thanks,
Joe


Nicholas Paldino said:
Joe,

I don't think that there is. You should be able to set up a packet
sniffer easily enough to see the traffic that is being sent to the mail
server.

Once you set it up, you should be able to see the headers pretty
easily and determine if there is anything fishy about the headers.

AFAIK, there isn't any special header that the component sends.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Joe Reiss said:
Hi all,

I'm using the System.Net.Mail namespace to set up a SMTP sendmail.
This works for the most part, however, when I try to send email to a
cell phone text msg. via the Verizon 'vtext' Gateway it fails with a 550
relay error msg.

I've had this problem in the past with Delphi/Indy SMTP component. The
problem there was that the component was blacklisted by Verizon for
previous use by spammers. The fix was to get rid of the X-Library line
in the mail header.

Is there a similar problem with this namespace?

Thanks,
Joe
 
I have a simlar problem with my use of the SmtpClient. I can send okay to
any email address in the domain of my email server, but if I attempt to send
to another email address, my email server reports that authetication is
required. Actually, it reports 'Bad sequence of commands' before that
general message. I found this problem because I also want to send text
messages to a cell phone. And yes, I have ensured that the email I'm sending
from is in the domain of the email server, and that I'm using
NetWorkCredentials to set the credentails properly AND I'm setting
UseDefaultCredentials to false BEFORE assigning network credentials etc. etc

In VS 2003 I was using the ASPEMail library successfully, and to be sure I
was passing the correct information to the SmtpClient code I also used the
same parameters for the code using ASPEMail - and it worked just fine.

The 'Bad Sequence of commands' reported by my email server is very
suggestive of a problem in SmtpClient...

Nicholas Paldino said:
Joe,

Did you check the headers with a sniffer, or can you see them in your
phone? Obviously, something is different, but it's a matter of finding it.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Joe Reiss said:
Something is different.

I can send an email to my cell phone with (e-mail address removed) from Outlook:
it shows up as a text message.

I can do the same with my Delphi program using the INDY/SMTP component.

I can send 'normal' emails using the System.Net.Mail / smtpclient from c#,
so I know i'm using it correctly.

However, it fails with a 550 when doing it to vtext.

Thanks,
Joe


Nicholas Paldino said:
Joe,

I don't think that there is. You should be able to set up a packet
sniffer easily enough to see the traffic that is being sent to the mail
server.

Once you set it up, you should be able to see the headers pretty
easily and determine if there is anything fishy about the headers.

AFAIK, there isn't any special header that the component sends.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Hi all,

I'm using the System.Net.Mail namespace to set up a SMTP sendmail.
This works for the most part, however, when I try to send email to a
cell phone text msg. via the Verizon 'vtext' Gateway it fails with a 550
relay error msg.

I've had this problem in the past with Delphi/Indy SMTP component. The
problem there was that the component was blacklisted by Verizon for
previous use by spammers. The fix was to get rid of the X-Library line
in the mail header.

Is there a similar problem with this namespace?

Thanks,
Joe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top