How to send email via smtp using VB.NET 2010

I need to send an email via SMTP, I have my SMTP in a Linux Centos Server, and I created the software to send emails with VB.NET 2010.

After using the namespace : System.Net.Mail.SmtpClient, I receive an exception :

Mailbox name not allowed.
The server response was: sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)

Thanks in advance.


That's an error from the server you're attempting to send the email to; it has nothing to do with your code. The server you're trying to send the email too probably isn't authoritative for the mail domain you're sending to.

Need Your Help

Plot with fewer markers than data points (or a better way to plot CDFs?)

matplotlib distribution plot marker cumulative-frequency

I am plotting Cumulative Distribution Functions, with a large number of data points. I am plotting a few lines on the same plot, which are identified with markers as it will be printed in black and

.htaccess rewrites for subdomain

php apache .htaccess

I want to make all URLs of the site belong to the root even the assets, and only categories in sub domains