Skip Menu |

This queue is for tickets about the MailTools CPAN distribution.

Report information
The Basics
Id: 7238
Status: resolved
Priority: 0/
Queue: MailTools

Owner: Nobody in particular
Requestors: SREZIC [...]

Bug Information
Severity: Wishlist
Broken in: 1.62
Fixed in: (no value)

Subject: Multiple to: in Mail::Send
Download (untitled) / with headers
text/plain 342b
Hello Mark, I found that I could specify $msg->to("receiver1, receiver2, ...") if working with the sendmail backend, but it does not work with the SMTP backend. Is it possible to make this syntax (or an alternate syntax, e.g. $msg->to(["receiver1","receiver2",...]) work with SMTP backend too, and maybe document this? Regards, Slaven
Download (untitled) / with headers
text/plain 521b
Show quoted text
> $msg->to("receiver1, receiver2, ...")
Mail::Mailer::smtp is accepting multiple addresses as well, but they are fed directly into the SMTP protcol. Did you try to send $msg->to('"Slavan Rezic" <>'); To be honest, I do not know whether SMTP relayers must understand this, or only bare addresses. But probably something like that is the case. Please, could you be more expliciti what the protocol violations are, so I can fix them? I have no time to read RFCs/set-up some tests etc... too busy...
Download (untitled) / with headers
text/plain 109b
If you use $msg->to('address1', 'address2') it will work. With $msg->to('address1, address2') it won't

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to