all groups > iis smtp nntp > december 2007 >
You're in the

iis smtp nntp

group:

Email from Command file


Email from Command file Ruth
12/14/2007 5:46:30 PM
iis smtp nntp:
What do I need to have in place in order to send an email from within a command file? I have an automated script that is launched by the scheduler and I need to receive an email when an issue arises.

What are the key pieces that I need to consider?

Thank you,

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

Posted via DevelopmentNow.com Group
Re: Email from Command file Sanford Whiteman
12/22/2007 1:35:45 AM
[quoted text, click to view]

You need to ensure that your mailserver passes the PTR-HELO-A
roundtrip check -- as always for any outbound mailserver. You must
have functioning DNS resolvers. (If your mailserver is already
properly config'd, these will not require additional work.)

Next, you must permit relay for specific IPs and/or for authenticated
sessions (the latter being already allowed by default). The more
sophisticated command-line e-mail senders, and scripts using CDOSYS or
later Microsoft technologies, support authentication. More primitive
methods will not be able to pass auth credentials to your mailserver,
so you will need to permit relay by the source IP (the IP of the box
that runs the script) instead.

--Sandy



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