The error log of Mail::Send

Discussion in 'Perl Misc' started by wing328hk@gmail.com, Jan 6, 2006.

  1. Guest

    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
    , Jan 6, 2006
    #1
    1. Advertising

  2. robic0 Guest

    On 5 Jan 2006 19:34:46 -0800, wrote:

    >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-
    robic0, Jan 6, 2006
    #2
    1. Advertising

  3. Matt Garrish Guest

    <> wrote in message
    news:...
    > 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
    Matt Garrish, Jan 6, 2006
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nathan Sokalski
    Replies:
    3
    Views:
    1,931
    Larry Lard
    Nov 23, 2005
  2. =?Utf-8?B?Unlhbg==?=
    Replies:
    2
    Views:
    3,880
    Steven Cheng[MSFT]
    Feb 28, 2006
  3. refv8
    Replies:
    2
    Views:
    27,039
    ittower
    Oct 13, 2006
  4. radgey gadgey hl
    Replies:
    0
    Views:
    703
    radgey gadgey hl
    Nov 25, 2007
  5. Don Quijote de Nicaragua

    Error + Send Mail + ERROR: Failure sending mail.

    Don Quijote de Nicaragua, Jun 26, 2008, in forum: ASP .Net
    Replies:
    5
    Views:
    1,506
    Don Quijote de Nicaragua
    Jun 26, 2008
Loading...

Share This Page