How to send Email to Manager
Hi experts,
How do i send email to manager via workflow? i know this question has been asked so many times but i need more technical detail, here is what i have done so far:
1. Create workflow
2. Create function module for extracting the superior user id
My understanding so far is to create a rule that calling the function module, and use the rule in agent determination. But sending email does not need an agent so basicly how do i call the rule so the fm could be called and the binding is passing the value? Thanks
Hello Hendri Salim !
Create a background step which uses SWX_GET_MANAGER to find the manager.
Populate the manager name in workflow container of mail step.
Create job variant for the report RSWUWFML2, and in the job variant , configure the task id of the mail step.
Also maintain following settings in the job variant :
Select "Only New Workitems" check box.
Select "Workflow Entry " check box
Coding for SWX_GET_MANAGER to get SAP log on id of manager as follows : Change the coding as required to get e-mail id.
BEGIN_METHOD FINDMANAGER CHANGING CONTAINER.
DATA:
EXTENDEDOBJECTID TYPE OBJEC-REALO,
addresstype like soxna-type,
RECIPIENTADDRESS TYPE SOXNA-FULLNAME.
DATA:
ac_container like swcont occurs 0 with header line,
addressstrings like soxna-fullname occurs 0 with header line.
SWC_GET_ELEMENT CONTAINER 'ExtendedObjectID'
addresstype = 'G'.
ac_container-element = 'OBJID'.
ac_container-tab_index = '000001'.
ac_container-elemlength = '008'.
ac_container-type = 'N'.
ac_container-value = EXTENDEDOBJECTID.
append ac_container.
ac_container-element = 'OTYPE'.
ac_container-tab_index = '000001'.
ac_container-elemlength = '002'.
ac_container-type = 'C'.
ac_container-value = 'P '.
append ac_container.
CALL FUNCTION 'SWX_GET_MANAGER'
TABLES
ACTOR_TAB = addressstrings
AC_CONTAINER = ac_container
EXCEPTIONS
NOBODY_FOUND = 01
OTHERS = 02.
CASE SY-SUBRC.
* WHEN 0. " OK
* WHEN 01. " to be implemented
WHEN OTHERS. " to be implemented
ENDCASE.
loop at addressstrings.
if addressstrings(2) = 'P '.
delete addressstrings.
endif.
endloop.
move addressstrings to recipientaddress.
SWC_SET_ELEMENT CONTAINER 'RecipientAddress' RECIPIENTADDRESS.
END_METHOD.
Regards,
S.Suresh
Similar Messages
-
How to send emails from of pdf's generated by oracle reports
I have several pdf documents , I want to email those pdf's . Please let me know how to send emails from oracle reports .
Thanks,
PrevinI have integrated Oracle Reports with Oracle Portal and used the scheduling feature via portlets. We have reports that run every monday morning for management. For more info go to:
http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
OR
I think if you set destype=mail, desformat=PDF, and desname=[email protected] that should also do the trick.
Just be sure that you have put your mail server's IP address in the rep_<machine_name>.conf file located in your <oracle_home>/reports/conf directory. If this is not set up, the mail feature won't work.
Martin -
[SOLVED]How to send email to a local user?
I have installed Mutt, msmtp, procmail and I can send and receive emails to/from remote hosts and I'd like to send email locally also (to the recipients on the same machine as the sender).
When I try to send email to a local user from the root account -
echo "Test message" | mail -s "Test subject" localuser
then I get an error that connection to the port 25 is refused. Because the /etc/msmtprc file contains the 'localhost' as the default account's host, and on the local host I don't have a mail server listening on 25 port running.
When I try to send email from a non-root account which has in /$HOME/.msmtprc file a real email account on a remote server, then of course there is an error that the domain for the email address 'localuser' is not recognized.
How can sending email to local users be enabled?
Last edited by nbd (2014-09-30 22:33:37)If I understand correctly, postfix it's a constantly running daemon. Seems to be an overhead for delivering only from time to time sent messages.
ewaller wrote:
> Out of the box, sendmail should be safe, but I think you have to enable local mail.
Currently I have msmtp-mta installed, which is described as having sendmail functionality. If I install sendmail - will it be possible to send local email without running email daemons? -
How to send email notification in different languages in Workflow ?? Urgent Help Needed
Gurus,
How to send email notification in different languages in Workflow? Can anyone send me some useful guidelines or link where it is mentioned.There is no profile option available to specify whether send or not send email notification.
But after login, in preferences youcan set the notification preference value by which you can configure whether to send or not
to send email notifications.
If you select ''Do not send me mail' or 'Disabled' it will not send.
For other values it sends the notfication in different formats like text, html, attachments etc...
Edited by: sarojak on Jun 27, 2011 7:18 AM -
How to send emails from HANA SQL Console
Hi,
Please guide how to send mail from HANA Studio SQL Console.
Is there any standard procedure in Hana Studio to send Mail( e.g. in MS SQL "sp_send_dbmail" Procedure)Hi Preethi,
Please go through the attached link:
How to send emails from HANA
Regards,
Krishna -
How to send emails to spam folder?
I just got my Note4 and the phone's Help tells me that I need to select the email, then the bottom menu will populate with a little red circle with a + in it. I am to click that and the email address is sent to spam. But my bottom menu is NOT giving me that spam icon to click. How can I block emails? Or how can I get that little icon to show up?
Thanks!!Yes, I have unsubscribed to the emails that allowed me too. Now I would
like to block spefic addresses and/or domains.
My email addresses are @verizon.net, @gmail.com and a corporate one. I am
using Gmail for the Gmail accounts and using the default email service that
came on the phone. It's icon is an envelope with a red @
I know the gmail service allows me to easily click "report spam" but using
note 4 how can I block emails in my verizon.net account and corporate
account?
Thanks.
<https://community.verizonwireless.com>
A message from the Verizon Wireless Community
<https://community.verizonwireless.com>
<https://www.verizonwireless.com/wcms/consumer/explore.html>
<http://www.verizonwireless.com/wcms/consumer/shop.html> [image: MY
VERIZON] <http://www.verizonwireless.com/b2c/myverizonlp/>
<http://www.verizonwireless.com/support/>
how to send emails to spam folder? created by Verizon Wireless Customer
Support <https://community.verizonwireless.com/people/vzw_customer_support>
in Android - View the full discussion
<https://community.verizonwireless.com/message/1176922#1176922> -
How to sending email from Oracle Forms
How to sending email from Oracle 6i(Forms)
I need to send email to a distribution list(multiple email addresses).send email of multiple email address
[email protected],[email protected],[email protected]
create or replace function mailout
(sender in varchar2,
recipient in varchar2,
ccrecipient in varchar2,
subject in varchar2,
message in varchar2) return number
is
crlf varchar2(2) := chr(13)||chr(10);
connection utl_smtp.connection;
mailhost varchar2(50) := 'Add email server Ip Address here';
header varchar2(4000);
v_num number :=1;
str number:=0;
email varchar2(50);
begin
connection := utl_smtp.open_connection(mailhost,25);
header := 'Date: '||to_char(sysdate,'dd mon yy hh24:mi:ss')||crlf||
'From: '||sender||' '||crlf||
'Subject: '||subject||crlf||
'To: '||recipient||crlf||
'Cc: '||ccrecipient||crlf||message;
utl_smtp.helo(connection,mailhost);
utl_smtp.mail(connection,sender);
utl_smtp.rcpt(connection,recipient);
while (instr(ccrecipient,',',1,v_num)>0) loop
email:=substr(ccrecipient,str+1,instr(ccrecipient,',',1,v_num)-str-1);
dbms_output.put_line(email);
utl_smtp.rcpt(connection,email);
str:=instr(ccrecipient,',',1,v_num);
v_num:=v_num+1;
end loop;
utl_smtp.open_data(connection);
-- utl_smtp.write_data(connection,header);
utl_smtp.write_data(connection,'MIME-Version:1.0'||crlf||'Content-type:text/html'||crlf||header);
utl_smtp.close_data(connection);
utl_smtp.quit(connection);
return 0;
exception
when utl_smtp.invalid_operation then
dbms_output.put_line('Invalid Operation in SMTP transaction');
return 1;
when utl_smtp.transient_error then
dbms_output.put_line('Temporary problem with sending email ');
return 2;
when utl_smtp.permanent_error then
dbms_output.put_line('Permanent problem with sending email ');
return 3;
end; -
Hi Just wanted to find out how to send email? can receive just fine but cant send. Using hotmail at the moment.
Any help would be great
Thanksgo to your mail providers setup guide and compare every single setting to how your smtp setup in your settings are set
and if they are not the same change yours to match their page
and if they are the same contact your isp to inquire as to why they are blocking the ports your mail provider are using -
Hi All,
I am working with SharePoint 2013 designer workflow. we are using office 365.
Our requirement to send email to multiple users, get the user groups from lookup list people and groups column.
But SP designer sending emails to the first user alone.
Please guide me to proceed.
Advance Thanks.
Regards
Jenkins NS
Thanks and Regards Jenkinsfinally I got a solution
Identified a workaround to solve the issue using SharePoint designer.
Step 1
Create a lookup list Example department
Columns
Title (by default) – Single line of text
Users – Person or Group
Emails – Multiple lines of text
hidden the Emails column (go to content type and set the column as hidden)
Create a SharePoint designer Workflow
Start Workflow automatically when an item is created
Also Start Workflow automatically when an item is changed
Workflow Stage 1
Set Emails to current Item: Users
The workflow will get all users email ids and add in the Emails column delimiter as semicolon.
Step 2
Create a custom list to get the email ids and send email
Create a lookup column ex: analysis and refer department list, Allow multiple values
Then Create a SharePoint designer workflow
full details workflow steps please follow below
URL
http://jenkinsblogs.com/2015/04/30/how-to-send-emails-to-multiple-users-from-lookup-list-people-picker-field-using-sharepoint-designer-workflow/
Thanks and Regards Jenkins -
How to disable sending email to manager while deletion of my site in SharePoint 2013?
I believe there is a cleaning job is for disabled and employee who are left i want to disable the alert which is sending to their manager for the deletion of the site that site will be deleted in 3 days. How can we disable this email alert.
The job you are looking for is called the MySite Cleanup Job. It is a timer job, so you can disable the whole thing. But that would disable processing of MySites for deleted users entirely, not just the email alert. Unfortunately, there
is no way to disable just the alert. So you either need to disable the whole timer job or let the alert be sent.
Also, just to clarify. By default the timer job deletes mysites after 14 days (not 3) and only does this for users missing from a profile import ( which is normally only users deleted from AD not user disabled in AD). You can filter out disabled
users also, but it requires adding a filter to the profile import connection.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
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 Email on iPad 3G if you have a 3rd Party POP Account
After a nice chat with the helpful support guys at O2, it may be worth me telling everyone here who has:
1. an iPad with Wifi and 3G
2. a POP email account with another home broadband provider (as I do)
This is a long post, but it's all worthwhile stuff. As they say in the US, 'your mileage may vary' so I'm not guaranteeing this solution will work for you, but it was the only way I can get my iPad Wifi+3G to successfully send emails when at home and out and about. It ain't pretty, so let's hope it gets cleared up in OS 4 grin
Before you begin, ensure that:
1. Wifi is turned off
2. You are in range of your 3G service.
3. You have already set up your iPad to work at home using your Wifi router with your broadband provider's POP and SMTP servers.
What you must do. (Have iPad in landscape format to follow along)
1. Tap the 'Settings' App on the Home screen
2. Tap on 'Email Contacts and Calendars' option (on the left)
3. In the panel on the right, tap on your POP email account, under 'Accounts'
4. When the Account pane pops up, scroll down to 'Outgoing Mail Server'
5. Tap on the server
6. Tap 'Add Server...' under 'Other SMTP Servers' to add your carrier's SMTP server
7. When the input pane appears type the carrier's smtp server, which may look like smtp.o2.co.uk or smtp.three.co.uk or whatever...
8. tap 'Save'
9. You will have to wait while iPad tries to use SSL. Eventually iPad will ask you to connect to the server without SSL.
10. Tap 'yes' to try without SSL
11. When iPad gets back to you, tap on the carrier's server in the 'Other SMTP Servers' list. (iPad goes back to the previous screen when the server is verified)
12. A new panel will appear, showing the server settings. Leave these alone, except for turning the server to 'on'
13. Tap 'Done' (top right corner)
14. Now turn your isp's outgoing server off (tap on your primary server and tap on the 'off' on the switch on the settings panel for the server)
15. Tap 'Done' at the top right and work your way back to the main settings screen
16. Now you can test your email
17. Turn iPad off. Not just 'off' but 'OFF'. Hold sleep/wake for a few seconds and slide the switch when asked to turn iPad OFF
18. Turn iPad back on again (sorry but this OFF/on is essential)
19. Tap on the Mail app
20. Compose a test email
21. Tap 'send'
Hopefully, after a few seconds of the little whirly thing rotating next to the 3G symbol, you'll hear a 'whoosh' and your email was sent.
What you must remember to do, when switching between Wifi and 3G:
In order for Wifi email and 3G email to live in harmony with iPad, iPad needs to be switched off between using one service or the other, and you will need to ensure that only the correct SMTP server is switched on.
This is not pretty.
Unfortunately, the hopeful statement on the settings screen that indicates that iPad can use several SMTP servers, one after the other, does not work when you switch from Wifi to 3G and back. It seems that iPad Mail app suffers from hyperthymesia and gets confused very easily and has to have its hand held.
This is the only way I have managed to send emails from my POP account over Wifi and 3G on O2. Receiving email is fine with no need to turn iPad off and on.
Don't worry if you forget, and then get an odd message about 'rejected recipients'. Just switch from one SMTP server to the other and turn iPad OFF and on, then reopen the Mail app and the email should send fine.
MarkMost, if not all internet service providers block the use of SMTP servers that are outside of their network or not provided by the ISP being used for your internet connection at the time unless the SMTP server is authenticated. This restriction is part of an overall effort to prevent spam emanating from the ISP's domain and when connected to a cellular internet network for internet access is no exception.
This has been in place and an issue for a long time - well before the iPhone, iPod Touch, and iPad were introduced that firmware update 4.0 can't do anything about.
I access two email accounts and both have an authenticated SMTP server. I've never had any problems sending with either account regardless the ISP being used for my internet connection with various wi-fi networks and when connected to AT&T's cellular network.
Most ISPs don't provide an authenticated SMTP server, but a number of other email account providers do. Apple does with a MobileMe account, and so does Google with a Gmail account to name only two. -
How to send email but not receive it
Hi,
I have 2 email addresses, one for work, and one for other. I like my work email to be forwarded to my Gmail because it archives all of my messages. But in Mac Mail I want to send email from both accounts and only receive from my gmail. Currently I receive duplicate messages on every message because it gets mail from both places and if its a message to my work email, since its forwarded I get it twice.
I already checked, do not check this mailbox when automatically checking for updates, and that works some of the time, but if I need to hit the Get Mail button, it gets mail from that, and I go from 7 messages to 850.
So is there way to be able to have an email address just to send from and not get mail from?what you describe is strange. how exactly do you forward messages from the work account to gmail? if you do it on the server then there should be no duplicates and your work mailbox on the server should be simply empty.
to send from two accounts yopu can try the following. delete the work account in Mail (that will delete all maiboxes associated with it). then add your work email address separated by command to your gmail address in mail preferences->accounts. also add the smtp server for that address to the list of smtp servers. you'll have to manually choose the "from' address and the smtp server when you send mail but it might work if your work smtp server doesn't complain (it might). -
Apex 4: How to send email when form is submitted?
Hi,
Using Apex 4.0.2 on DB 11g, I've a form with around 80 fields and 4 check boxes.
When the user clicks on submit button, besides saving the values in the database I also have to send emails. Selection of the 4 check boxes decides whom the email has to go to, i.e if 2 check boxes are checked, send 2 emails.
In the emails, some contents will be based on the data the user has filled and some from the database; also data in different emails will be different.
From what I've read, to send email I've to use APEX_MAIL API and make a conditional process depending on the check boxes selected. Also that I have configure mail server in database and that mail sever has to accept autonomous user (i.e. sending email without password)
Is this the right approach?
How can I do this?
Is there any example/tutorial that will guide me in doing this?
Thank you for your time.The Apex email package is very simple.
v_id := apex_mail.send(
p_to => v_to,
p_from => v_from,
p_subj => v_subject,
p_body => v_body,
p_body_html => v_html);It's up to you how you get the values of the variables.
Also that I have configure mail server in database and that mail sever has to accept autonomous userThe mail server is not in the database, but you do have to inform Apex which server to use (smtp.yourcompany.com).
Most smtp servers require user and password. In that case you have to write your own procedure. Search the pl/sql forum for email authentication and you will find many examples.
It is probably also possible to configure the smtp server in such a way that requests coming from the database do not need authentication. That is how we have it configured (but I don't know how the administrator did it, though). -
OBIEE 11g: How to send email from Analysis (via Action Framework)
Hi,
I have installed OBIEE 11g SampleAppLite in my POC box.
One of the features I want to have is to allow users to send their feedback (email) about a report to the report owner. Can this be done without launching Outlook? I tried to Invoke a Browser Script and found that I can display a form showing Recipient, Subject and Message text fields, but I do not know how to send the email.
Thanks!Hi Devarasu,
Thanks for your reply. The link you gave is for sending iBots. But if I do this, users will not be able to send their feedback / comment.
Maybe you are looking for
-
Airport Extreme - printing problems with window desktops
Hello everyone; I a mac book and 3 more pcs (window) at home. I recently bought a airport extreme router in order to able to print from my mac book via wireless. everything is nice when I print from my mac book buy I'm not able to print from the pcs.
-
Submit Buttons not working in Apple or Chrome Readers?
Is there a fix for this in the future? As in it will work with Apple Reader and Chrome Readers? It is tough trying to talk clients through all the options and downloads, when you are hoping to make life easy with the forms only to find out it isn't
-
Seem to have lost CS5 as main editor
I recently got hold of the Nik collection as PS plugins and loaded them into CS5 32bit. I then set CS5 32bit up as the second external editor in LR3 having previously had CS5 64 bit set itself up as the automatic main external editor. This set up ha
-
Transaction info in javascript
Hi all, I would like to get BLS transaction execution details like how much time it has took and transaction final info. into the javascript.Is there any method available for finding it in javascript..............?
-
Support for non-native left-click pull-down menus?
Greetings. I've not been able to find a component for AS3.0 in Flash CS3 that would let me do what I would very much like to do. I don't wish to re-invent the wheel, but I've not seen anywhere that the wheel exists. I understand that AIR provides nat