SCOUG-HELP Mailing List Archives
Return to [ 20 |
February |
2008 ]
<< Previous Message <<
1
This is a multi-part message in MIME format.
Content Type: text/plain
Content-Transfer-Encoding: 7bit
While I had the VoIP modem out of the loop today, I was able to get a short Python test program to
actually send a message that I was able to read with SeaMonkey.
The "command line" command sent by Python to eCS was:
sendmail -a sendmail.letter -f support@thePetRxStore.com listsns@roadrunner.com
which made it look like the message came from my web store instead of FastEagle. Just what I want.
Sheridan
Content Type: application/octet-stream
Unknown header: name="sendmail.letter" :
Unknown header: filename="sendmail.letter" :
File attachment:
569unknown
Content Type: text/plain
name="Send_E-Mail-Tester.py"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="Send_E-Mail-Tester.py"
# Send_E-Mail.py
import os
def SendToSystem(To, XmitError):
cmd = """sendmail -a sendmail.letter -f support@thePetRxStore.com %s""" %To
print cmd
print
status = os.system(cmd)
if status <> 0:
XmitError.append(To)
return XmitError
def TestToSystem(To):
cmd = """CommandTest.cmd %s""" %To
return 0
#status = TestToSystem("SENDMAIL.Test")
XmitError = []
XmitError = SendToSystem("listsns@roadrunner.com", XmitError)
print
print "XmitError is: ", XmitError
print
Content Type: text/plain
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"postmaster@scoug.com".
=====================================================
<< Previous Message <<
Return to [ 20 |
February |
2008 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|