The first suggestion is to make sure your system date is correct, as this
causes CDO problems. This may or may not iron out all of your issues.
My second suggestion is to forgo CDO altogether. There is a great open
source .NET mail component called OpenSmtp on sourceforge.net. We did have
to change HELO to EHLO on one of our projects to get mail relaying outside
the domain (more a network admin power play than anything else). This was a
simple matter of finding the line in source that has HELO and changing to
EHLO. Everything worked great after that.
OpenSmtp allows you to set up authentication rather easily. Best to have the
network admins create an account for sending email that is restricted from
doing other things in the domain as it reduces any potential security risk.
You will need them to help set up the proper relay for your SMTP service to
Exchange (et al), if you are relaying in this manner, so they can be a great
resource for you.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
************************************************** ********************
Think Outside the Box!
************************************************** ********************
"Pauravi" <an*******@discussions.microsoft.com> wrote in message
news:00**********************************@microsof t.com...
Hi,
I am making a project that sends emails.I m using System.Web.Mail and
smtpMail.Send() to send emails.
i have set my SmtpMail.SmtpServer to my remote server
The problem is,
I m not able to send emails outside of my domain that is to hotmail ,yahoo
or indiatimes,etc.But i m able to send thru Outlook Express that configured
with this smtp server.
Also my server requires Authentication?How to go about it in my project?
Please help me to solve this problem.