We are using Fake Sendmail For Windows http://glob.com.au/sendmail/
Create the email content with all the headers in a subroutine and then just call the EXECUTE method. CMD = '"C:\usr\lib\sendmail -t < ':EMAIL.TEMPFILE:' 2>&1 > ': EMAIL.DEBUGFILE :'"' EXECUTE "DOS /c":CMD CAPTURING TRASH The good thing about this is the same email created in the subroutine can be sent from unix sendmail or the windows sendmail. Regards Adrian Halid Senior Analyst/Programmer IT Vision Australia Pty Ltd (ABN: 34 309 336 904) PO Box 881, Canning Bridge WA 6153 Level 3, Kirin Centre, 15 Ogilvie Road, Applecross, WA, 6153 P: (08) 9315 7000 F: (08) 9315 7088 E: [email protected] W: http://www.itvision.com.au ___________________________________________________________ NOTICE : This e-mail and any attachments are intended for the addressee(s) only and may contain confidential or privileged material. Any unauthorised review, use, alteration, disclosure or distribution of this e-mail (including any attachments) by an unintended recipient is prohibited. If you are not the intended recipient please contact the sender as soon as possible by return e-mail and then delete both messages. ___________________________________________________________ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Steve Romanow Sent: Monday, 13 September 2010 9:51 AM To: U2 Users List Subject: Re: [U2] EMailing from Universe I'm sorry, didn't mean to be flip. I would never install a webserver just to send mail. Python also has good ftp (ftputils) and ssh (paramiko). Will work on aix and windows. On 9/12/10, Steve Romanow <[email protected]> wrote: > There is an smtlib built in. You can call it just as easy as anything > else. Python is always the answer. ;) > > On 9/12/10, Symeon Breen <[email protected]> wrote: >> What could be simpler than the shell commands i gave examples of - >> why would you complicate it with a python script ? >> >> >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Steve >> Romanow >> Sent: 12 September 2010 21:11 >> To: U2 Users List >> Subject: Re: [U2] EMailing from Universe >> >> Python script will make quick work of this. >> >> On 9/12/10, Symeon Breen <[email protected]> wrote: >>> If you are on linux use either mutt or mail >>> >>> e.g. EXECUTE "!mutt -a {fileToAttach} -s {subject} >>> emailaddress,emailaddress2 < /dev/null" >>> >>> or EXECUTE '!echo "hello world" | mail -s {subject} emailaddress" >>> >>> we send thousands of mails every week using this method. >>> >>> >>> >>> >>> -----Original Message----- >>> From: [email protected] >>> [mailto:[email protected]] On Behalf Of Mark >>> Warner >>> Sent: 12 September 2010 04:31 >>> To: [email protected] >>> Subject: [U2] EMailing from Universe >>> >>> We're started a project where a client wants to email statements to >>> their customers. Has anyone done this with success, and if so, can >>> you point me in a direction? >>> >>> >>> >>> _______________________________________________ >>> U2-Users mailing list >>> [email protected] >>> http://listserver.u2ug.org/mailman/listinfo/u2-users >>> >>> _______________________________________________ >>> U2-Users mailing list >>> [email protected] >>> http://listserver.u2ug.org/mailman/listinfo/u2-users >>> >> >> -- >> Sent from my mobile device >> _______________________________________________ >> U2-Users mailing list >> [email protected] >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> >> _______________________________________________ >> U2-Users mailing list >> [email protected] >> http://listserver.u2ug.org/mailman/listinfo/u2-users >> > > -- > Sent from my mobile device > -- Sent from my mobile device _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
