Perhaps when you said:
$smtp->recipient("user2");
You really meant:
$smtp->recipient($ENV{"user2"});
As that seems to be what you did with "user1"?
bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.
In reply to (bbfu) (Net::SMTP problems: recipient?) Re: It's my first time, be gentle.
by bbfu
in thread No mail in the SMTP inbox
by Zippernipples
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |