![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sending Email with Attachment | balajiora | Shell Programming and Scripting | 3 | 05-29-2009 05:32 AM |
| sending an attachment through email | Sgiri1 | Shell Programming and Scripting | 1 | 04-21-2009 01:46 AM |
| C code for Sending Email with attachment | Mr coder | High Level Programming | 1 | 03-06-2009 10:29 AM |
| Sending email with text & attachment using mailx | haryadoon | Shell Programming and Scripting | 3 | 07-27-2006 02:49 AM |
| Sending email w/ ftp log as attachment | idesaj | UNIX for Dummies Questions & Answers | 2 | 07-19-2005 12:48 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Sending email and attachment file using Perl
I am trying to send an email body of information and also attachment using perl script, but I am only able to send the body but not an attachment. is there around it without using "use MIME::Lite;" module. Code:
$user = "bataf\@xyz.com"; $subjectt = "mail from perl"; open(MAIL, "| mailx -s TEST_Errors $user"); printf(MAIL "\t>>>>>>>>> $date TEST_ ERRORS <<<<<<<<<<\n"); printf(MAIL "TEST ERRORSc8: $c8\n"); printf(MAIL "TEST ERRORSc7: $c7\n"); printf(MAIL "TEST ERRORSc4: $c4\n"); Thanks, bataf |
|
||||
|
Quote:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|