Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Issue with SendEmail

Status
Not open for further replies.

ziggy6

Technical User
Jun 24, 2012
9
US
I have been using sendEmail for sometime now on various unix boxes running sco 5.0.7 this is the first time I have had any issues with sendEmail. I am not sure if the problem is system related (perl) or related to the smtp server connecting to. I have tried the same email credentials on two other boxes (different site from the one failing) and it works just fine.
Code:
May 28 15:15:20 loadstar sendEmail[23152]: DEBUG => Connecting to smtp.gmail.com:587
May 28 15:15:21 loadstar sendEmail[23152]: DEBUG => My IP address is: 192.168.1.10
May 28 15:15:21 loadstar sendEmail[23152]: DEBUG => evalSMTPresponse() - Checking for SMTP success or error status in the message: 2
20 mx.google.com ESMTP o1sm2393854yhp.43 - gsmtp
May 28 15:15:21 loadstar sendEmail[23152]: DEBUG => evalSMTPresponse() - Found SMTP success code: 220
May 28 15:15:21 loadstar sendEmail[23152]: SUCCESS => Received:         220 mx.google.com ESMTP o1sm2393854yhp.43 - gsmtp
May 28 15:15:21 loadstar sendEmail[23152]: INFO => Sending:     EHLO myhome.domain
May 28 15:15:21 loadstar sendEmail[23152]: DEBUG => evalSMTPresponse() - Checking for SMTP success or error status in the message: 2
50-mx.google.com at your service, [162.226.84.88], 250-SIZE 35882577, 250-8BITMIME, 250-STARTTLS, 250-ENHANCEDSTATUSCODES, 250-PIPEL
INING, 250-CHUNKING, 250 SMTPUTF8
May 28 15:15:21 loadstar sendEmail[23152]: DEBUG => evalSMTPresponse() - Found SMTP success code: 250
May 28 15:15:21 loadstar sendEmail[23152]: SUCCESS => Received:         250-mx.google.com at your service, [162.226.84.88], 250-SIZE
 35882577, 250-8BITMIME, 250-STARTTLS, 250-ENHANCEDSTATUSCODES, 250-PIPELINING, 250-CHUNKING, 250 SMTPUTF8
May 28 15:15:21 loadstar sendEmail[23152]: DEBUG => The remote SMTP server supports TLS :)
May 28 15:15:21 loadstar sendEmail[23152]: NOTICE => Authentication not supported by the remote SMTP server!
May 28 15:15:21 loadstar sendEmail[23152]: INFO => Sending:     MAIL FROM:<myemail1@gmail.com>
May 28 15:15:21 loadstar sendEmail[23152]: DEBUG => evalSMTPresponse() - Checking for SMTP success or error status in the message: 5
30 5.7.0 Must issue a STARTTLS command first. o1sm2393854yhp.43 - gsmtp
May 28 15:15:21 loadstar sendEmail[23152]: DEBUG => evalSMTPresponse() - Found SMTP error code: 530
May 28 15:15:21 loadstar sendEmail[23152]: ERROR => Received:   530 5.7.0 Must issue a STARTTLS command first. o1sm2393854yhp.43 - g
smtp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top