in reply to Sending a large mail with Mail::sendMail
You could be using a here-doc to 'wrap' a multiline text in a single string, i.e.
Use <<"EOT" if you wish for variables to be interpolated. EOT can surely be named otherwise, as long as it is consistent (as in, start of here-doc (<<'EOT') & end of here-doc (EOT) share both the same 'identifier' and the ending identifier is placed on a single, ending line).my $message = <<'EOT'; institution Name: METALIB [...] EOT
Have you verified the string didn't get accidentally truncated before handing it over to sendmail()?
If it didn't, would you care to paste the output of $Mail::Sendmail::error and $Mail::Sendmail::log?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sending a large mail with Mail::sendMail
by mrguy123 (Hermit) on May 20, 2007 at 10:41 UTC | |
by shigetsu (Hermit) on May 20, 2007 at 11:05 UTC | |
by derby (Abbot) on May 20, 2007 at 13:23 UTC | |
|
Re^2: Sending a large mail with Mail::sendMail
by mrguy123 (Hermit) on May 20, 2007 at 11:01 UTC |