CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Mail::Sender MailMsg() throws error but sends email



Jul 8, 2014, 6:03 AM

Post #1 of 1 (878 views)
Mail::Sender MailMsg() throws error but sends email Can't Post

  • Linux RHEL 5.5.56
  • Perl 5.8.8
  • Mail::Sender v0.8.2 (most recent, installed last week)

    My problem is, MailMsg() sends the email but also throws an error. When I check for an error, I print the error and end the program.
    Here's the error:

    mailsender ERROR: -5 on MailMsg: 'Server error: 500 command unrecognized'

    If the email is sent, there should be no error. My test program does not do this, but my main "big" program does, and I can't see any differences.

    My full subroutine here. Anyone have any ideas what is going on here? Full test program that works here but I don't know what's different from my full subroutine.

    Thank you!

    EDIT: By looking at the debug SMTP server log, the server says "QUIT" command unrecognized. I didn't get this error yesterday.

    Also, I think Mail::Sender just throws an error in debug mode, but not regular mode.

    (This post was edited by bulrush on Jul 9, 2014, 3:19 AM)


    Search for (options) Powered by Gossamer Forum v.1.2.0

    Web Applications & Managed Hosting Powered by Gossamer Threads
    Visit our Mailing List Archives