PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Sending Mails through Application Engine (SMTP Configuration).

edited Mar 25, 2025 10:40AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 4 commentsAnswered

Hey, I have developed an app engine which will have to send emails to users for certain condition. I'm using PT_MCF_MAIL Package and PT_MCF_MAIL:MCFOutboundEmail but it going in %ObEmail_FailedBeforeSending. But when I use same code on some button and then trigger the button from the page. it works fine and mail is delivering fine. I wanna know what thing I'm doing wrong. Below is the mail code.

import PT_MCF_MAIL:*;
Local PT_MCF_MAIL:MCFOutboundEmail &eMailUserProfile = create PT_MCF_MAIL:MCFOutboundEmail();
&eMailUserProfile.Sender = "someone@example.com";
&eMailUserProfile.ContentType = "Content-type: text/html; charset=utf8";

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