Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem on using ASP.Net to send Email

1 view
Skip to first unread message

Chi Wai

unread,
Mar 11, 2008, 5:51:10 AM3/11/08
to
Hi

I am trying to implement a function on the website, which will send email to
customer for verification purpose. It works fine on my computer, but after i
publish to the webserver, I can only email to internal user, and some of the
external user.
I have receive the following error
Mailbox unavailable. The server response was: 5.7.1 Unable to relay for
[email address]
i have did some research on this error, people suggest to use
SMTPClient.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis

but i have receive another error
Cannot get IIS pickup directory.

Do you think it is something I can solve or it just some server's setting I
need to modify to resolve that problem?

Many thanks

Chi


v-wy...@prcvap.microsoft.com

unread,
Mar 12, 2008, 3:02:29 AM3/12/08
to
Hello Chi,

It sounds like a Sever configuration issue. Have you tried to send mail on your IIS server by other SMTP Client(such as Outlook Express)? Does it work fine?
It seems your mail server are not configured correctly. I just searched on internet and found some information:
http://support.microsoft.com/kb/280043/en-us
[Health Monitor May Be Unable to Send E-Mail via Local Exchange SMTP Server]

Hope this helps,
Best regards,
Wen Yuan
Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Chi Wai

unread,
Mar 12, 2008, 4:24:18 AM3/12/08
to
Hi Wen Yuan

Thanks for your information. The problem has been solved, it is server
configuration issue.

Many thanks

Chi
<v-wy...@prcvap.microsoft.com> wrote in message
news:255715ba-0c2f-46fa...@ms.shabap01.publicpsswebcat...

v-wy...@prcvap.microsoft.com

unread,
Mar 13, 2008, 1:44:46 AM3/13/08
to
You are welcome, Chi. :)

Have a great day,
Best regards,
Wen Yuan

Microsoft Online Support
Microsoft Global Technical Support Center

Get Secure! - www.microsoft.com/security
=====================================================
When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
0 new messages