Re: The error log of Mail::Send




<wing328hk@xxxxxxxxx> wrote in message
news:1136518486.037719.138670@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I'm using Mail::Send to send mail. How do I check whether the mail has
> been sent successfully?
>
> Is there any log created by Mail::Send??
>

Mail::Send uses Mail::Mailer to send the mail, so you can turn on debugging
in the open. For example, using the example in the Mail::Send documentation:

$fh = $msg->open('smtp', Server => '127.0.0.1', Debug => 1);

If you want to know if the person you're sending the mail to successfully
received the email, don't hold your breath. A message could conceivably sit
for days on a server depending on how it 's set to handle failed deliveries.
All you'll ever know is that you sent it out.

Matt


.



Relevant Pages