E-WF: SMTP Authentication Fails for Emails Sent To Outside Domains (Doc ID 1266445.1)

Last updated on FEBRUARY 17, 2017

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.49 to 8.50 [Release 8.4]
Information in this document applies to any platform.

Symptoms

SMTP authentication is setup, either through psappsrv.cfg or MCF outbound email which is shown in the following example.
The following lines on the psappsrv.cfg or psprcs.cfg file:

[SMTPUserName=UserName
SMTPUserPassword=password]


OR

[Local PT_MCF_MAIL:MCFOutboundEmail
Local integer &res

&email = create PT_MCF_MAIL:MCFOutboundEmail();
.....
&email.SMTPUserName = "SomeLoginName";
&email.SMTPUserPassword = "SomeLoginPassword";]

The emails can not be sent to outside domains. The following is shown in SMTP trace.

Mon May 10 17:40:29 IST 2010 MAIL FROM:<peop1esoft@oracle.com>
Mon May 10 17:40:29 IST 2010 250 2.1.0 peop1esoft@oracle.com....Sender OK
Mon May 10 17:40:29 IST 2010 RCPT TO:<User@users.com>
Mon May 10 17:40:29 IST 2010 550 5.7.1 Unable to relay for User@users.com
Mon May 10 17:40:29 IST 2010 DEBUG SMTP: Invalid Addresses
Mon May 10 17:40:29 IST 2010 DEBUG SMTP: User@users.com
Mon May 10 17:40:29 IST 2010 DEBUG SMTP: Sending failed because of invalid destination addresses
Mon May 10 17:40:29 IST 2010 RSET
Mon May 10 17:40:29 IST 2010 250 2.0.0 Resetting
Mon May 10 17:40:29 IST 2010 javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
class com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for User@users.com

Mon May 10 17:40:29 IST 2010 at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1141)
Mon May 10 17:40:29 IST 2010 at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:536)
Mon May 10 17:40:29 IST 2010 at com.peoplesoft.pt.mcf.mail.MCFOutboundEmail.send(MCFOutboundEmail.java:686)
Mon May 10 17:40:29 IST 2010 at com.peoplesoft.pt.mcf.mail.MCFOutboundEmail.send(MCFOutboundEmail.java:854)
Mon May 10 17:40:29 IST 2010 NOOP
Mon May 10 17:40:29 IST 2010 250 2.0.0 OK
Mon May 10 17:40:29 IST 2010 QUIT

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms