You don't need to call an executable like sendmail from MIME::Lite.  It
works perfectly fine with Net::SMTP.

>From the MIME::Lite docs:
---

Change how messages are sent

    ### Do something like this in your 'main':
    if ($I_DONT_HAVE_SENDMAIL) {
       MIME::Lite->send('smtp', "smtp.myisp.net", Timeout=>60);
    }

    ### Now this will do the right thing:
    $msg->send;         ### will now use Net::SMTP as shown above

---

Peter Guzis
Web Administrator, Sr.
ENCAD, Inc.
email: [EMAIL PROTECTED]
www.encad.com 

-----Original Message-----
From: Scot Robnett [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:08 AM
To: Burak G�rsoy; Bryan T. O'Malley;
[EMAIL PROTECTED]
Subject: RE: sending a file as an e-mail Attachment using Perl


I also use MIME::Lite. Works like a charm on *NIX, but I can't get it to
work with IIS on Win2K. I guess it's because my Windows host requires you to
use a CDO object instead of an actual executable mail program, since they're
an ASP shop.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Burak G�rsoy
Sent: Wednesday, February 27, 2002 12:45 PM
To: Bryan T. O'Malley; [EMAIL PROTECTED]
Subject: RE: sending a file as an e-mail Attachment using Perl


I use MIME::Lite


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bryan
T. O'Malley
Sent: Wednesday, February 27, 2002 8:33 PM
To: [EMAIL PROTECTED]
Subject: sending a file as an e-mail Attachment using Perl


I have used net::smtp to send e-mail. Works great.


I am unable to figure out how to send a file as an e-mail attachment using
Perl.

Any pointers toward the solution to this problem will be greatly
appreciated.

Thank-you,

Bryan.






Bryan O'Malley, Actinide Analytical Chemistry, C-AAC
Quality and Information Management Team, MS G-740
PO Box 1663, MS G740, Los Alamos, NM 87545 Tel 505-665-1769
Fax (Lab Business Only): 505-665-4737
Personal Fax: (605)253-1459


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.325 / Virus Database: 182 - Release Date: 2/19/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.325 / Virus Database: 182 - Release Date: 2/19/2002

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to