The code you have provided does not insert a blank line between the header data
(from, to, cc, subject, etc) and the message body.
This seems to cause your mailer to treat the whole message a 'message
body' which
is why the recipient gets an email with the 'CC' line separated from the header
by a
On Fri, 10 Sep 2004, Reinhold Riedersberger wrote:
> Are all the variables, particularly $zieladdressen, defined ?
Yes
Hmm.
Well, for debugging, you could try inserting the variables you're using
into the message body in an attempt to show exactly what's there:
print MAIL <
Textline1
Textline2
De
Reinhold Riedersberger wrote:
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]<-- This mail will not be sent
If there actually is a blank line between those headers, the CC:
header (and everything after it) will be considered part of the
message body, and not a message header.
Does the $zieladres
Reinhold Riedersberger wrote:
why does the CC-line not send any mail?
The To-Line is well. And the CC-Line appears in the first mail. But
there will not send any mail to the cc-address.
Do messages to those two addresses possibly end up in the same
mailbox? In that case it may not be an error, but
Hallo Chris,
> Are all the variables, particularly $zieladdressen, defined ?
Yes
> What do the message headers on a mail sent to the To: line look like ?
Return-path: <[EMAIL PROTECTED]>
Envelope-to: [EMAIL PROTECTED]
Delivery-date: Fri, 10 Sep 2004 01:14:41 +0200
Received: from [213.239.206.1
On Fri, 10 Sep 2004, Reinhold Riedersberger wrote:
why does the CC-line not send any mail?
Are all the variables, particularly $zieladdressen, defined ?
What do the message headers on a mail sent to the To: line look like ?
If you're hitting a dead end, this may be easier to do with a module
like
Hello once more :-),
why does the CC-line not send any mail?
The To-Line is well. And the CC-Line appears in the first mail. But
there will not send any mail to the cc-address.
What is there wrong?
open ( MAIL , "|$mailprog -t") || die "Kann $mailprog nicht öffnen!\n";
print MAIL "To: [EMAI