Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I recently had posted one query regarding sending of mails using ASP.NET.

I was not getting any error neither was my mail sent.

But suddenly, today in the Spam folder of my sending mail address I found undeliverable mails.

the reason was as below.

"
MSIL
The IP you're using to send mail is not authorized
550-5.7.1 to send email directly to our servers. Please use the SMTP relay at
550-5.7.1 your service provider instead.

"
Now can anybody tell me how to authorize my IP or how can I send mails from my own PC...This is extremely required for my project.

Mu UI is the same as mentioned as an example for sending Mails via ASP.NET in CP.



Kindly assist.

Mukund
Posted

1 solution

I know this won't be the answer you want, but you'll find that I'm probably bang-on.

You don't have to do anything different from what you previously did. Your code sounds like it works and you aren't getting runtime exceptions.

What's happening is that you are running into anti-spam protection and won't be able to get around it with anything you do on your end. Period.

Besides, if you're trying to send from your local IP you'll endlessly be fighting blacklists. The best bet, if you insist on running it from home, would be to get a domain name and get your ISP to change your reverse DNS entry from the 'dynamic', auto-named class of rDNS to mail.whateveryourdomainis.com so the world knows that it's not just a spam server.

If you're doing something legitimate (like for business) contact your ISP and ask if they have a mail relay that you can get an account for. Mine has such a server and does not have the residential mail send limits on it.

If this is a commercial project (that you will be reselling) make sure you seed in some configuration options (or use the SMTP configuration section in ASP.NET) for your end users.

Cheers.
 
Share this answer
 
Comments
Mukund Kallapur 20-Sep-10 15:18pm    
Hi James....Thank you very much for your reply. But may I know where can I get a domain name...and where all should I change the settings ????

Please can you shed some light on this ??
TheyCallMeMrJames 20-Sep-10 15:50pm    
You can register a domain name with any registrar. What country do you live in? In North American countries we tend to us GoDaddy.com a fair bit. Network Solutions is another. Most will advertise, so just google "domain registration" and you'll find something. Before you chase that, you should make sure your ISP will support rDNS or you'll be wasting your money.
Mukund Kallapur 22-Sep-10 0:23am    
Thank you very much for your suggestion..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900