Title | Under | Posted on |
---|---|---|
Component interface Error: no rows exist for the specified keys | PeopleSoft Technical | 03/15/2019 - 3:54am |
ADD 24 months starting from current month.(peoplesoft) | PeopleSoft Functional | 07/29/2018 - 8:44pm |
TRC values dropdown | PeopleSoft Technical | 04/04/2018 - 12:54am |
how to find missing sequence in GRID and print the mising sequence number while saving through peoplecode | PeopleSoft Technical | 09/11/2017 - 4:49am |
hi,
the first prerequisite is that ur SMTP server should be configured.
I have used it from 3 tier triggering from online push button. u can see the code below for ur reference.
&MAIL_FLAGS = 0;
&MAIL_TO = &mail_t;
&MAIL_CC = &mail_c;
&MAIL_BCC = "";
&MAIL_SUBJECT = "Request ID #" | CR_EMAIL_REC.CR_ID | " Approved - Request for " | &LN | ", Dept - " | CR_EMAIL_REC.CR_DEPTID;
&MAIL_TEXT = "Hi, Please find the attached Requestion Form";
&MAIL_FILES = "/disk2/psreports/PSFSDEV/" | &DOR | "/" | &CONTENTID | "/" | &FILENAME;
REM &MAIL_FILES = "/disk2/psreports/PSFSDEV/20080714/" | &CONTENTID | &FILENAME;
&MAIL_TITLES = &mail_title;
rem &MAIL_SENDER = "psadmin@psoft.com";
&RET = SendMail(&MAIL_FLAGS, &MAIL_TO, &MAIL_CC, &MAIL_BCC, &MAIL_SUBJECT, &MAIL_TEXT, &MAIL_FILES, &MAIL_TITLES);
If Not (&RET = 0) Then
WinMessage("Return status from mail = " | &RET);
End-If;
How to get line by line in mail text?
Hi,
I had also same reuirement once ..then i used Worflow in that.
May be some one can help us in this regard.
Regards
Nitin Khanna
Hi Kishore,
What actually you mean when you say line by line? I think you can use new line character while creating text body for email. Sendmail is a good function but if it does not work then you can use the mail class also.
Regards
Abhinav
Love , Live , Laugh , Smile and Enjoy
HI ,
Thank you very much nitin hexa first of all.
And i achieved my requirement through sendmail function.one small trick helps me to print line byline the trick is
&newline="
";
hope u understood this.
Thanks®ards,
Kishore.P