mbm has asked for the wisdom of the Perl Monks concerning the following question:
I am facing a weird issue. I have a cgi-perl script to display a web form. After submitting I am emailing the data as an attachment. The code I am using to mail is shown below. strangely the mails are not going if I change the subject to anything else other than "test mail". I am not using modules because of lot of dependencies. Do u have any clue? can this be because the subject "test mail" is cached or something like that
my $subject="test mail"; @command1=("uuencode", "<file path>", "<file>"); @command2=("mailx" ,"-s", "'$subject'","-m", "your\@email.com"); system("@command1 | @command2");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: email subject issue in mailx
by ikegami (Patriarch) on Jan 12, 2010 at 18:18 UTC | |
by mbm (Novice) on Jan 12, 2010 at 18:44 UTC | |
by almut (Canon) on Jan 12, 2010 at 19:04 UTC | |
by ikegami (Patriarch) on Jan 12, 2010 at 19:40 UTC |