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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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

 



bulrush
Novice

Jul 8, 2014, 6:03 AM

Post #1 of 1 (452 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:

    Code
    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.
    -----
    * Redhat Linux RHEL 5.5.56
    * Perl 5.8.8

    (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