all groups > iis smtp nntp > february 2008 >
You're in the

iis smtp nntp

group:

SMTP Client Class


SMTP Client Class Ruth Sanders
2/19/2008 2:38:17 PM
iis smtp nntp:
I need to automate an email within my app. I am using the SMTP Client class within vb dot net 2005. I have it working; however, when I run the app from local machines some email addresses do not receive the email.

I believe it is blocked by the remote mail server. After some investigation it looks like the email header revealed that the email is being sent from my local machine and not the mail server. A remote email server couldn't do a reverse DNS lookup to see if the email is legitimate and is blocking the email from delivery.

Does SMTP Client class simply set up an email for “pickup” by the mail server…is that why the header contains my local machine name and not the actual mail server?

How can I use the SMTP Client and ensure that the email header contains my correct (in house) mail server?

Thanks for your help,
Ruth

From http://www.developmentnow.com/g/92_0_0_0_0_0/inetserver-iis-smtp-nntp.htm

Posted via DevelopmentNow.com Groups
Re: SMTP Client Class Sanford Whiteman
2/20/2008 10:46:44 AM
[quoted text, click to view]

Mail sent through \Pickup is submitted via the filesystem and relayed
over standard SMTP. The source IP address will be the (public) address
of the mailserver whose \Pickup was used. That is still an _actual_
mail server, it just may not be the one you wanted (i.e. it could be
the incorrectly configured local SMTP VS that would be better off not
running at all).

[quoted text, click to view]

Set DeliveryMethod = 'Network', set the Host and Port = your internal
mailserver's hostname and port.

--Sandy



------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
AddThis Social Bookmark Button