The error log of Mail::Send

W

wing328hk

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??

Thanks in advance,
Wing
 
R

robic0

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??

Thanks in advance,
Wing

I use that, post some code so I can run it and figure out what the problem is.
-robic0-
 
M

Matt Garrish

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top