Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Sending attachments in emails using SMTP

by Zen (Deacon)
on Jul 08, 2008 at 20:13 UTC ( #696316=note: print w/replies, xml ) Need Help??


in reply to Sending attachments in emails using SMTP

Shell out.

http://www.unix.com/aix/36448-command-line-script-send-e-mail-html-body-binary-attachment.html
  • Comment on Re: Sending attachments in emails using SMTP

Replies are listed 'Best First'.
Re^2: Sending attachments in emails using SMTP
by biswanath_c (Beadle) on Jul 08, 2008 at 20:16 UTC
    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! )
          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) ?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://696316]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2019-12-10 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?