SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, 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.

The Southern California OS/2 User Group
USA

SCOUG-HELP Mailing List Archives

Return to [ 20 | February | 2008 ]

<< Previous Message <<


Date: Wed, 20 Feb 2008 22:51:53 -0800
From: Sheridan George <s-geo@usa.net >
Reply-To: scoug-help@scoug.com
To: scoug-help@scoug.com
Subject: SCOUG-Help: Sendmail Two


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.