| Title | Under | Posted on |
|---|---|---|
| how to create application status in peoplesoft campus solutions 8.9 version | PeopleSoft Functional | 05/17/2012 - 4:09am |
| horizantal text in charts | PeopleSoft Technical | 05/10/2012 - 4:57am |
| no current buffer context error | PeopleSoft Technical | 05/10/2012 - 1:19am |
| Integration Broker : Operating Instance/Pub Contracts/Sub Contracts | PeopleSoft Technical | 04/24/2012 - 11:05am |
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
Post new comment