Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
body content is missing while sending mail with attachmentby bheeshmaraja (Novice) |
on Jul 28, 2012 at 06:16 UTC ( [id://984151]=perlquestion: print w/replies, xml ) | Need Help?? |
bheeshmaraja has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I'm a perl developer. I need to attach a word document file from my perl cgi script and send mail to our users whoever using our website. I have used mailx command to attach a file. There are no library(MIME::Lite, Mail::Sender, Mail::Mailer) available in my server. That's why I'm using the inbuilt mailx command to send mails. It is sending mails, but the problem I'm facing is I'm not getting body of the mail. I'm getting attachment only. Body message is not getting delivered. I have a function called sendmailto which sends email to users. Can any one help me to get the body of mail too..
Please help me, how can we achieve this using mailx function? Installing library is a big task.. so I don't want to go for library installation.. Wanted to achieve this with built-in features available in this version of perl... Thanks in Advance.. Nagarajan
Back to
Seekers of Perl Wisdom
|
|