PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

email sending( TLS + SMTP) directly using PeopleCode

edited Apr 23, 2012 9:09PM in PeopleTools and Lifecycle Management - PSFT (MOSC) 3 commentsAnswered
hi,
i'm testing email sending( TLS + SMTP) directly using PeopleCode with the following code in PT8.51, but get SendMailException: Detail Message:JavaMail Error: 530 5.7.1 Client was not authenticated.\nStack Trace:\njavax.mail.MessagingException: 530 5.7.1 Client was not authenticated. when i tested the smtp server in Telnet, also get error Client was not authenticated. If use a none SSL/TLS SMTP server mail account, it's ok to send email. Can somebody give me some help and advice? Thanks!

import PT_MCF_MAIL:*;

Local PT_MCF_MAIL:MCFOutboundEmail &email = create PT_MCF_MAIL:MCFOutboundEmail();

&email.From = "test_2012@hotmail.com";
&email.Recipients = "atgihdgv@qq.com";

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center