M
Michael Satterwhite
Please consider the following code snippet:
msg = <<EOS
From: <anaddress>
To: <anotheraddress>
Subject: A Test Message
This is a test message.
EOS
Net::SMTP.start(<servername>, 26, <server>, <username>, <passwd>,
lain) do |smtp|
smtp.send_message(msg, <fromaddress>, ['(e-mail address removed)',
'(e-mail address removed)'])
end
If I execute this, only one of the two recipients will get a copy of the
message. No errors are seen, but the second address just gets discarded.
I'm pretty sure it's not the server playing games as a similar action in
the python equivalent works cleanly.
Could someone offer some help?
Thanks much
---Michael
msg = <<EOS
From: <anaddress>
To: <anotheraddress>
Subject: A Test Message
This is a test message.
EOS
Net::SMTP.start(<servername>, 26, <server>, <username>, <passwd>,
smtp.send_message(msg, <fromaddress>, ['(e-mail address removed)',
'(e-mail address removed)'])
end
If I execute this, only one of the two recipients will get a copy of the
message. No errors are seen, but the second address just gets discarded.
I'm pretty sure it's not the server playing games as a similar action in
the python equivalent works cleanly.
Could someone offer some help?
Thanks much
---Michael