HOW TO SEND NOTIFICATION THRO. MAIL
I have installed workflow 2.6.4 on oracle 10.2.
1) How to send notification thro mail?
2) what kind of setting I need to do?
3) Do I need to include all users email address in Microsoft Outlook contact or in WF_LOCAL_ROLES?
Regards,
Jitendra
The Workflow Agent Listener and Workflow Notification Mailer components should be up and running in order for e-mails to be received from Oracle Workflow. These components are managed using batch files located on $ORACLE_HOME/wf/admin. You may verify the status and view the log files of these components using Workflow Manager UI accessible from Enterprise Manager.
Thanks
Similar Messages
-
How to Send Appointment via mail adapter
Hi Guys,
I need to send the appointment and vTodo via mail adapter, any way i need to develop a mail adapter module. Till now i have finished this part,and i can send normal mail even normal mail with attachment. But i don't know how to send appointment via mail adapter.
This is payload content of appointment which got from Exchange server to gmail:
_=_NextPart_001_01C71EC0.97A011C6
Content-Type: text/plain;
charset="GB2312"
Content-Transfer-Encoding: quoted-printable
When: 2007=C4=EA6=D4=C227=C8=D5=D0=C7=C6=DA=C8=FD 3:30 =CF=C2=CE=E7-4:00 = =CF=C2=CE=E7 (GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi.
Where: China
~*~*~**
This is calendar content
_=_NextPart_001_01C71EC0.97A011C6
Content-class: urn:content-classes:calendarmessage
Content-Type: text/calendar;
method=REQUEST;
name="meeting.ics"
Content-Transfer-Encoding: 8bit
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft CDO for Microsoft Exchange
VERSION:2.0
BEGIN:VTIMEZONE
TZID:(GMT+01.00) Sarajevo/Warsaw/Zagreb
X-MICROSOFT-CDO-TZID:21
BEGIN:STANDARD
DTSTART:20070112T140000
TZOFFSETFROM:+0100
TZOFFSETTO:+0100
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20070112T140000
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20061213T141132Z
DTSTART;TZID="(GMT+01.00) Sarajevo/Warsaw/Zagreb":20070112T140000
SUMMARY:This is calendar test
UID:040000008200E00074C5B7101A82E0080000000030D51864C81EC701000000000000000
010000000CA9F127EA8947844BC4DD47F269BDEA9
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Xu, Rocky":MAILTO:rocky@***.com
ORGANIZER;CN="Xu":MAILTO:rocky@**.com;roc*@gmail.com
LOCATION:Shanghai
DTEND;TZID="(GMT+01.00) Sarajevo/Warsaw/Zagreb":20070112T160000
DESCRIPTION:This is calendar content\N
SEQUENCE:0
PRIORITY:5
CLASS:
CREATED:20061213T141132Z
LAST-MODIFIED:20061213T141133Z
STATUS:CONFIRMED
TRANSP:OPAQUE
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-OWNERAPPTID:367904726
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20061213T141132Z
X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20061213T141132Z
END:VEVENT
END:VCALENDAR
_=_NextPart_001_01C71EC0.97A011C6--
My question is
1. How to generate this kind of payload in mail adapter module?
2. It is possible to send appointment via mail adapter?
Following i can get from other system, even using mail package check or not using mail package check.
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft CDO for Microsoft Exchange
VERSION:2.0
BEGIN:VTIMEZONE
TZID:(GMT+08.00) Kuala Lumpur/Singapore
X-MICROSOFT-CDO-TZID:21
BEGIN:STANDARD
DTSTART:16010101T000000
TZOFFSETFROM:+0800
TZOFFSETTO:+0800
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T000000
TZOFFSETFROM:+0800
TZOFFSETTO:+0800
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20070608T025852Z
DTSTART;TZID="(GMT+08.00) Kuala Lumpur/Singapore":20070608T110000
SUMMARY:This is meeting request with attachment
UID:040000008200E00074C5B7101A82E0080000000000A9BD0BA7A9C701000000000000000
010000000C5E16D144D1612498C0EF7E2115EFEC4
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Xu, Rocky
":MAILTO:roc*@**
ORGANIZER;CN="Xu,y":MAILTO:roc*@**
LOCATION:India labs
DTEND;TZID="(GMT+08.00) Kuala Lumpur/Singapore":20070608T113000
DESCRIPTION:This is content! <<shanghai.txt>> \N
SEQUENCE:0
PRIORITY:5
CLASS:
CREATED:20070608T025925Z
LAST-MODIFIED:20070618T033505Z
STATUS:CONFIRMED
TRANSP:OPAQUE
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
ATTACH:CID:008501c7b159$a9d41d3b$_CDOEX
X-MICROSOFT-CDO-OWNERAPPTID:1468557271
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20070608T025852Z
X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20070608T025852Z
END:VEVENT
END:VCALENDAR
Thanks & regards
RockyHi
have a look at this
You can use Java/ABAP proxies to do this job for you..
Java Proxy >> will read the mail(with the attachments) with the help of Java APIs and send the message into XI ABAP Proxy >> for this you will have to first convert the attachment into a message and then you can proceed in the regular fashion.
Not all adapters can process attachments, I'm not sure why you are having trouble with using module processor in the mail adapter. Just check if the service pack that you are using supports this feature.
If you are on WAS 6.10 and above you can achieve this and there is an excellent weblog by Thomas Jung on this topic at
/people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
reading Pdf Through mail easly done with Java Proxy, which will read the mail(with the attachments) with Java APIs and send the message into XI and then map with the Target ABAP proxy structure .
Thanks -
I have created a group from my iCloud contacts, but do not see how to send an e-mail message to this group.
The help topics don't go this far. Can anyone help?Thanks Winnie; but why didn't that work when I typed in the whole title of the group? Just the 1st 2 letters did the trick.
Over & out -
How to send HTML Format Mail using Java Mail in oracle 9i Forms
Dear All
could you please tell me how to send HTML Format Mail using Java Mail in oracle 9i Forms and how to implement the java mail ?
if it is possible, could you please send me the sample code? please very urgent
Thanks
P.SivaramanHello,
<p>Here is a Form sample.</p>
Francois -
Hi all,
I have an issue. How to send an encrypted mail using smartform output.
I am using the output from smartform and converting it to pdf and then sending that pdf as attachement through mail. But before sending, i have to encrypt the contents of the mail. Plz anybody know the solution for this issue?check this link...
http://help.sap.com/saphelp_nw04/helpdata/en/4e/c153426da9bd30e10000000a155106/content.htm
Encrypt.?
How to Encrypt? -
How to send birthday wish mail to Employees on daily basis
Hi ,
How to send birthday wish mail to employee with greeting card as background image in Mail Content area.
Is there any Standard program available in SAP.
_Requirement:_
Normal , Birthday Wish mail can be done through function module SO_NEW_DOCUMENT_SEND_API1.
How to write program for getting , Greeting card as background image in Mail Content area.
Is there solution in SAP .
Regards
SurendarHi,
Check this for embedding image in your email : Using CL_BCS to send email from ABAP
And this about image as background and other related stuff : http://www.reachcustomersonline.com/2010/01/23/09.27.00/#faqs
Best regards,
Guillaume -
How to send notifications to multiple person with same role and with result
How to send notifications to multiple people with resultout as approve/reject?
We are looping the notification by attaching a cursor query to find the different emp nos to send for approval.
I cannot associate a role because these emp nos are sub-set of a role which I have created and i am getting thru the cursor query.
For FYI notification there is no problem, but for approval notification, I am not unable to send approval notifications to all the people.It stops at the first person in the loop.Pls suggest alternate way. Thanks in advance.Manju,
I would use the cursor to populate the API for creating an ad-hoc role within the workflow process as a function. Then set your notification performer as the ad-hoc role.
Here is an example function:
create or replace procedure sample_emp_fill(itemtype in varchar2,
itemkey in varchar2,
actid in number,
funcmode in varchar2,
resultout in out varchar2) as
cursor get_name is
select ename from scott.emp where mgr = 7839 and empno != 7566;
role_name varchar2(50);
names varchar2(500);
begin
if (funcmode = 'RUN') then
role_name := 'ad_hoc_role_'|| itemkey;
for row in get_name loop
names := names || row.ename || ' ';
end loop;
WF_DIRECTORY.CreateAdHocRole( role_name=>role_name,
role_display_name=>role_name,
language=>'AMERICAN',
territory=>'AMERICA',
role_description=>role_name,
notification_preference=>'QUERY',
role_users=>names,
email_address=>' ',
fax=>'',
status=>'ACTIVE',
expiration_date=>'');
resultout := wf_engine.eng_completed||':'||wf_engine.eng_null;
return;
end if;
end; -
How to send Deadline Monitoring mails to an external mail (LOTUS NOTES)?
Hi all,
1. I know how to send Deadline Monitoring mail to an SAP INBOX. But i need to send the deadline monitoring mail to an external email address (LOTUS NOTES or any other email id).
2. If i am able to send Deadline monitoring mail to the external email address. It will send mail only once but, How to send these deadline monitoring mails for every 3 days until the approver takes some action.
Please help me...
Regards,
Gautham PThe easy solution is to set up automatic forwarding for everyone by defining the system as NOT being your e-mail system. I don't know where this setting is (the Basis people did it), but with this setting SAP will forward every user's e-mail to the e-mail address in the user record.
For repeated sending I think you have to use modelled deadlines. Send the deadline message using a normal mail sending step and loop after calculating the new deadline. (i.e. you need to store the deadline in the container and refer to the container elements in your deadline specification.) The deadline calculation can either be a separate step or you can do it as a secondary method in the mail sending step. -
How to send notification mail by IDM 7.1?
HI,
I configured the idm 7.1 and want to send notification mail to user when a new user is created.
But I can not get email from IDM. I think the SMTP server is right and I can telnet to SMTP server and send mails.
How to test the IDM configuration is right ? or how to test send mail notification by an easy way ?
Thanks.I configured the IDM from Configure--> servers -->Edit Server Settings page ,Email Template, as filled form:
Default SMTP Server 192.168.22.222
Use default
Default SMTP Port 25
Use default (25)
SMTP Port 25
SMTP Authentication Enabled
Use default (true)
Authentication Enabled
User Id idmmail
Password *****
Default SMTP Enable SSL
Use default (false)
SSL Enabled
Disable Certificate Authentication
When I run the "ALL USERS" report, I select the 'Email Report' and filled the mail address. But after running the report , I can't receive email and no error messages displayed.
Could you tell me how to do I can debug or trace the messages if the IDM sent or not sent mail , if it connects to mail server ?
Thanks. -
How to send Notification email to Outlook mail?
Hi all,
am new to workflow,
is there any possiblity with sending notification emails using rule?
in my requirement i have to send email notifications to concerned manager using A002 relationship in HR?
Can anybody help me?
Thanks in advance,Hi,
You will have to do the following:
1. Create a new container element (for eg. APPROVER) with Data type WFSYST-AGENT.
2. Create a new background method(if required create a new Business object also) to your BO object to populate this container element.
3. Use the following code in your method:
DATA: G_SNAME TYPE SMNAM,
G_USER TYPE SYSID,
NEXT_PROCESSOR_TAB TYPE PTREQ_UIA_APPROVER_TAB.
PERFORM FIND_NEXT_PROCESSOR(RPTREQAPPRCHK)
USING
PERNR
REQTYPE
CHANGING
NEXT_PROCESSOR_TAB
G_SNAME
G_USER.
CONCATENATE 'US' G_USER INTO APPROVER.
3. Add a new activity step to your workflow calling this method.
4. Use your(current) send mail step with agent field having value 'APPROVER'.
Hope this will work.
Regards
Gautam -
How to Send Notification to Manager of the Employee using Dynamic Action..
Hi All,
I am sending a notification using the Dynamic Action for an Infotype.. I am able to send mail using distribution list but I have a requirement to send the notification to employee manager. I am able to determine the Line Manager ID calling the subroutine in the dynamic action. But I am not sure how to send the notification to the manager.
If the email's are maintained in distribution list if I specify the text id in the feature M0001 and distribution list the notifications are sent. I am not sure how to pass the line manager id to get the same notification..
I have seen the option REC1 but infotype 0001 in not having the line manager id..Used the Function Module RH_GET_LEADING_POSITION.
Thanks.. -
How to: Send out e-mails through a 3rd party mail host?
Hi,
We would like to send out e-mail campaign from our CRM system.
But we would not like to risc being blacklisted as spammer, so we would like to send out the e-mails using a 3rd party mail host provider.
Our sales department already use our CRM system for sending out their sales related e-mails.
They use our corporate exchange server for that.
So the scenario is:
I have created a smtp node in trx scot, and liked it to our domain *company.com
This node points to our corporate mail host. All our normal users use this domain.
All our campaign e-mails from CRM should be send using another mail host as described before.
According to note 455140, I don't see that I can create a new smtp node in scot.
And link this one to our new e-mail domain *company-news.com and the external mail host.
How do I send these e-mails to a specific mail host when the sender is a specific domain e.g. company-news.com?
My Exchange server guys say that they can't redirect specific mails send from our CRM system.
They can only redirect all mails that are send from our CRM system, but then all the e-mails from our sales reps are also send through a 3rd party mail host.
Does anyone have battled with this before, and how did you solve it?
best regards
Michael Wolff KnudsenWe bought a new Exchange server, version 2007 just for CRM. This Exchange version can tunnel the e-mail to our 3rd party vendor, and they can send out the e-mails so neither one of us gets spammed.
-
How to send an e-mail to multiple sharepoint groups in a SP2013 workflow
I'm trying to create a workflow in designer 2013 that sends an e-mail to multiple users bases on a few sharepoint groups.
However if a user is member of 2 sharepoint groups he/she will appear twice in the "to field" of the e-mail.
Any suggestions on how to solve this would be much appreciated.
Thank youHi Jan,
According to you description, my understanding is that you want to send email to user who exist in two groups once using workflow.
If a user exist in the group, the email workflow will send the mail to the member in the group, it is reasonable.
As a workaround, I suggest you send mail to the specific user independently and then create a new group without the repeat user, then you can send mail to the new group.
More information:
Create new user group in SharePoint 2013:
http://plexhosted.com/billing/knowledgebase/279/How-to-create-new-SharePoint-2013-users-group-and-add-users-to-it-.html
Best Regards
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber
Support, contact [email protected]
Zhengyu Guo
TechNet Community Support -
How to send automatic "reminder mails" after certain time
Hi Experts,
There is a problem which I am not able to solve, Please help !
Requirement: 1. After the creation of a certain task, a mail should go to the user... this I have done using the Java Mail API.
*2. After 2 days if the user don perform certain task, a reminder mail should be send to him EVERYDAY after the INITIAL 2 days.*
how to achieve this in the Java mail.. I have heard of Java mail Schedulers but I am not able to find it.. If you can give me some guide or some steps or some article for this I would be very very gratefu to you.
Please treat it as urgent and give your valuable suggestions.
Thanx in advance.
Regards,
RajatNope. It means that if you want to schedule something, use code which does scheduling. Like Quartz for example. Bear in mind that the "something" in this case would involve sending an e-mail, but your scheduler wouldn't care about that.
-
Hi.
I'd be very happy if someone can help me.
I'm developing a desktop application in (J2SE). Because of better debugging it would be very useful to send an "Error message" to my e-mail whenever an exception occures. How can I do that?open a socket to a SMTP server, and send your mail message there.
a quick hack i wrote a couple of month ago looked like this:
* sends a (raw) Mail-Message over smtp-protocol.
* @param serverAddress server to use for transportation
* @param serverPort port of the server
* @param sendingDomain domain to send under
* @param senderAddress address of the sender
* @param recipientAddress address to send the mail to
* @param data raw-text of the message
* @author Theos
static public void sendMessage( String serverAddress, int serverPort,
String sendingDomain, String senderAddress, String recipientAddress,
String data)
throws UnknownHostException, IOException {
Socket mailSocket = new Socket(serverAddress, serverPort);
BufferedReader in = null;
OutputStreamWriter out = null;
String line = null;
//data-packs to send to server
String[] sent = { "HELO " + sendingDomain,
"MAIL FROM: " + senderAddress,
"RCPT TO: " + recipientAddress,
"DATA",
data};
int i = 0;
try {
in = new BufferedReader(new InputStreamReader(mailSocket.getInputStream()));
out = new OutputStreamWriter(mailSocket.getOutputStream());
if((line = in.readLine()).startsWith("220")) {
//connected & ready to send
do {
out.write(sent);
out.write("\r\n");
out.flush();
//if data-msg was sent, dont expect a 250-OK but 354-msg
if(sent[i] == "DATA" && (line = in.readLine()).startsWith("354")) {
i++;
out.write(sent[i]);
out.write("\r\n");
out.flush();
out.write(".\r\n");
out.flush();
i++;
} while ((line = in.readLine()).startsWith("250") && i < sent.length); //250 == OK
out.write("QUIT\r\n");
} finally {
//close streams
if(in != null)
try {
in.close();
} catch (IOException e) { }
if(out != null)
try {
out.close();
} catch (IOException e) { }
try {
mailSocket.close();
} catch (IOException e) { }
//not all was sent
if(i != sent.length)
System.err.println("error sending '" + sent[i] + "': '" + line + "'");
* sends a Mail-Message over smtp-protocol.
* @param serverAddress server to use for transportation
* @param serverPort port of the server
* @param sendingDomain domain to send under
* @param senderAddress address of the sender
* @param recipientAddress address to send the mail to
* @param senderName name of the sender
* @param subject subject of the message
* @param recipientName name of the recipient
* @param text text to mail
* @author Theos
static public void sendMessage( String serverAddress, int serverPort,
String sendingDomain, String senderAddress, String recipientAddress,
String senderName, String subject, String recipientName, String text)
throws UnknownHostException, IOException {
StringBuilder data = new StringBuilder();
data.append("From: "); data.append(senderName); data.append("\r\n");
data.append("Subject: "); data.append(subject); data.append("\r\n");
data.append("To: "); data.append(recipientName); data.append("\r\n");
data.append(text);
sendMessage(serverAddress, serverPort, sendingDomain, senderAddress, recipientAddress, data.toString());
you might wana overwork it tho...
Maybe you are looking for
-
How can I have user specific filters for information display on portlet?
Hello Everyone !!!!! I am new to the Portlet World My query is.. How can I have filters on a portlet screen ? I want to display certain information on a portlet which must be filtered and ordered. Example: In Internet Banking , I want to display tran
-
I have two oracle databases which I want to connect, these are the entries in tnsnames.ora UAT = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.16.72.166)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME =
-
Hello, I have difficulties connecting to SAP via RFC. I get Error Messages API4006 and API3011. Does anyone have any idea what this means? I did not find a list of error messages with description. Florian Fuchs
-
Hi All, Iam new to abap...i want to practice Idocs in my PC...i installed SAP R/3 system in my PC...Iam practicing all other concepts in client 800...how to practice idocs to send data from one client to other client...how to setup other clients?
-
CS3 InDesign Place Picture Changed on Me?
CS3 InDesign Mac I was going along, placing pictures by using Command/d. But something changed? I was getting an image of what I was trying to place so that I could pick which one I wanted to place out of the list. But then for no reason, all that ca