http://www.perlmonks.org?node_id=696318


in reply to Re: Sending attachments in emails using SMTP
in thread Sending attachments in emails using SMTP

Thanks for the replies! But i am using Windows ! How do i send attachments using SMTP in Windows? (sorry! i should have mentioned that earlier! )
  • Comment on Re^2: Sending attachments in emails using SMTP

Replies are listed 'Best First'.
Re^3: Sending attachments in emails using SMTP
by blue_cowdawg (Monsignor) on Jul 08, 2008 at 20:23 UTC
        How do i send attachments using SMTP in Windows?

    Regardless of what platform you are on, I'd recommend you read (and understand) the excellent How-To published by Corion A detailed How-To for locally installing modules. Install cpan;//MIME::Lite locally and use it. You'll be glad you did.

    If perchance you cannot for some misbegotten reason install the module locally I'd suggest you copy/paste the pertinate pieces of code from that module (as others have suggested) appropriately and use that.

    If that still doesn't work for you... give up.


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
      Thank you very much for the help. I would see if i can download the module! But, is there any way this can be accomplished using SMTP (without using MIME) ?
        Yes, read the code and just do exactly what it does.