Using Sender Address in Email sending process

Hi all,
         I have a requirement that we are sending mail to multiple people. Here i am able to maintain TO Addresses but my requirement is i want to maintain From_address(i.e sender address)
Problem is by default SAP sends by using SY-UNAME as per person looged in.
Can we send From_address(sendera ddress) by using variable but not sy-uname.
Thanks,
Rajesh
Edited by: rajesh pattnaik on Apr 21, 2009 5:24 PM

Hi,
If you use BCS functionality for sending mails, you can find your answer in demo program BCS_EXAMPLE_1
*     --------- set sender -------------------------------------------
*     note: this is necessary only if you want to set the sender
*           different from actual user (SY-UNAME). Otherwise sender is
*           set automatically with actual user.
      sender = cl_sapuser_bcs=>create( sy-uname ).
      CALL METHOD send_request->set_sender
        EXPORTING i_sender = sender.
Enjoy!

Similar Messages

  • Sending email using Exchange 2013 defined email addresses not the account email address.

    Currently we are using exchange 2013. Let's say a user has a mailbox account defined that has a default email reply address of [email protected] Now I define additional email address for the same account. When the user tries to send an email he can only send from
    the default email address. Is it possible to send from a defined email anndress and not the default account email address?
    Best Regards
    Best Regards

    Not natively with Exchange.
    You will need 3rd party software if you want to have only one mailbox and the ability to send as any of the proxy addresses associated with it
    Example:
    http://www.ivasoft.biz/choosefrom2007.shtml
    Not sure if Exchange 2013 is supported with it yet
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • I have a new iPad. I am using Comcast as my email provider but when I send a message, it pulls up the facebook email addresses for my  contacts  instead of the addresses stored in my comcast account.  How can I get rid of the Facebook email addresses? The

    I have a new iPad. I am using Comcast as my email provider but when I send a message, it pulls up the facebook email addresses for my  contacts  instead of the addresses stored in my comcast account.  How can I get rid of the Facebook email addresses? The comcast addresses are stored in the comcast (xfinity) app.  I do not use the "mail" or "contacts" apps ....I go straight to comcast (xfinity).  I wish I could start over!!!  thanks.
    iPad

    I could be wrong, but it sounds like Facebook imported to your contacts.  I have the Xfinity app on my new ipad, too, but none of my stored contacts from the online version are showing, only what I manually entered into the iPads contacts are there.  When I did add the FB app, I did not grant it permission to push and pull from my ipad (not a fan of FB knowing every detail about me), so that may be where our difference lies.  You could try to open the app and change your privacy settings, or delete it and then reinstall without granting permissions to integrate.
    I'm sure someone here with a lot more knowledge then me can probably diagnose your issue better, though.  Good luck!

  • JavaMail Question: How to find IP address of email sender?

    Hi,
    I currently have a program that fetches email from a pop3 server and processes the email text.
    I want to filter out emails to process based on IP address of the sender.
    Can you please tell me whether it is possible to obtain the IP address of the sender using JavaMail?
    If yes, how? If not, what else can I use?
    Thanks,
    nitrousFiz

    Fayezin wrote:
    I have checked the RECEIVED headers closely. It seems that the last IP is of my mail server, not my machine from which the email was sent. Excellent. You have done the experiment. Now you know what IP addresses you can get.
    Is there a way to get the sender's machine IP or do I have to settle for the email server IP?So you did the experiment. You have the results. They already told you the answer to that.
    Here's what you need: an understanding of e-mail's architecture. As you already know, it's the servers that send the messages around the Internet. The servers have their own ways of deciding whether to trust an e-mail client. They may use authentication or lists of approved relayers or something else, or they may blindly trust everyone, but it's up to the initial server to decide whether to trust a client.
    It is NOT up to the receiving server to decide whether to trust a client of another server. That's not its business. The receiving server only has the option of deciding whether to trust other servers. In particular your desire to process e-mails from specific locations only is in conflict with the basic architecture of e-mail.
    So, I don't know where that requirement came from but if it's really aimed at the client who is sending the e-mail then you can't do that. It would be best to go back and find out why you have that requirement and how that can be implemented within the existing e-mail architecture.

  • Using send email step in workflow

    Hi Experts,
    I have a question regarding the send email step in workflow.
    We have the Receipient Type as Organizational Object and Expression as &WF_INITIATOR&.
    I want to know if the mail will be sent to the SAP email ID (i.e) in SBWP or will be it be sent to the Outlook email ID.
    We want to send it to the Outlook email ID of the User. Can you guide us as to how we can do the same.
    In some cases, we want to send the notification to both the employee and his manager. Can this be managed through the SEND EMAIL step in the workflow or do we have to explicitly create a method and use a std FM that sends the email to the concerned.
    Request your help on the same.
    Cheers,
    Belinda Clarke

    >We are getting the pernr of the employee. We can retrieve his email address for the same. So do we need to pass this to a workflow container and then use that workflow container value in the space provided for the email address.
    Yes. It is really up to you how you will develop everything. I personally like to get all the data into the workflow container, because it might be handy later in the life. Let's say that you go on with your custom email sending step and add there the code the get the data that you need in the email. It will work perfectly. But let's say that after six months the HR administrators want to get emails with a bit different content from this same workflow. Now you will need do another custom step. But if you had already all the data in the container you can simply add another standard email step and formulate the text with the editor and add the variables from the workflow container. Easy and simple.
    So, my advice is that for example add just add some background step to get all the possible data regarding the employees & leave request & managers or whatever. Now you have everything in the container and you can use them in the email(s) - and you can use them in other places too - for example in the work item texts, etc.
    Regards,
    Karri

  • Where is the feature "Send using External Address" gone?

    Did someone found the MobileMe feature "Send using External Address" in iCloud?

    No, currently there is none. There is only the option to configure iCloud Aliases in the webinterface but no more external adresses and mail servers. So currently no possibility to use the Webmail interface with an external address.
    In Lion Mail Programm it is easy to add the external email adress and use an alternative server for sending. On iOS devices you can also configure a IMAP account with the iCloud server as incoming server and your external address/server for sending.
    Hope this will be added in the next weeks for the webmail interface. It was already there in MobileMe. No idea why they didn't port that feature to iCloud.

  • Why does Thunderbird only send 6 emails of hundreds when QuickBooks is sending emails using TB as default email app in Windows 7?

    Current Setup: Windows 7, Quickbooks Non-profit Edition, Thunderbird. Thunderbird is set as the default email program.
    Recent history: Previously to Thunderbird (TB), the non-profit was using Outlook and using server A for email. Then over a month ago moved all users to TB IMAP accounts from broken Microsoft IMAP accounts. Then moved all IMAP accounts to server B using imapsync perl script which is awesome if you don't know about it. All fine after move for regular email, but not for outgoing email coming from QB to TB.
    In Quickbooks (QB), you can have it send invoices and statements to "customers" via email. When the setup was with Outlook and server A, it all worked fine. Now with TB and server B, when you try to send hundreds of invoices in email from QuickBooks to TB, TB only will send out 6 of the emails. It is a curious number 6, but that is what happens.
    What have done: Searched interwebs for clues, none found. Talked to tech support at hosting for server B to see if there is any limit on sending emails through server; account has 500/hour limit -- not the issues. Now asking help from anyone who has an idea or inkling to pursue.
    Thanks for any and all comments!

    Try disabling email scanning and on access scanning of the temp folder. And make sure most of all McAfee is not in the mix at all.
    Place Thunderbird in Offline mode
    click the two monitors in the bottom left corner on the status bar. or File menu (ALT+F) > offline > work offline
    Going back on line is the reversal of that process.
    At a wild guess I am assuming events are simply falling over one another. Unlike outlook Thunderbird is trying to actually send the mails as it gets them. Taking it offline will defer that action until you are online. So each mail will be written to the outbox folder only until Thunderbird is online.
    The three options I mention are all designed to remove road blocks to the process.

  • Send email without using sender id

    Hi all,
    Is it possible to send email without using sender id?
    Thanks in advance

    nvv wrote:
    I m not asking this for spam. Actualy I m developing software that sends mail to many contacts. If i use sender address then they can use others like gmail, yahoo, or something like that instead.Sounds like spam software to me.

  • Extract email addresses from email header - Sender (From) - Mail

    Hi!
    I would like to extract email addresses from email header from field "Sender (From)" and from email body in Mail at the same time.
    I saw only scripts how to extract from email body.
    I get emails asking for some informations about product and many people don't include their email address in the body, so I have to extract from email header as well.
    I would like to extract email addresses from whole email account, separate alphabeticaly, delete duplicates and save it (separated by comma) in text file.
    This I would use for sending massive email to all customers. 
    I'm on OSX 10.6.8.
    Do you have please somebody script for extracting email addresses in the way:
    1. select mail account
    2. run script
    3. save email addresses to txt file
    Thank you for help and advise!

    Hi Neville!
    Last time I was writing basic programs in Turbopascal in 1996.
    Maybe I'm doing something wrong...
    1. I switched off in Mail "Use Smart Addresses".
    2. I changed the path to my account in both commands:
    Command A.
    i=~/Library/Mail/[email protected]@pop.gmail.com # Input file path
    o=~/Desktop/ # Output file path
    n=`date "+%y%m%d%H%M%S"`-"addresses" # time stamped file name
    grep -rh From: $i | grep -o '[-a-zA-Z0-9.]*@.[^>]*' | awk '!seen[$0]++' > $o$n
    Command B.
    grep -rh From: ~/Library/Mail/[email protected]@pop.gmail.com | grep -o '[-a-zA-Z0-9.]*@.[^>]*' | awk '!seen[$0]++' > ~/Desktop/`date \"+%y%m%d%H%M%S\"`"
    3. I write commands in TERMINAL.
    result of Command A:
    List of couple emails same like before switching of "Use Smart Addresses"
    I answered it already above:
    It can extract to .txt file only email addresses from email header which includes after the name as well email address.
    Example:
    From: Neville Hillyer <[email protected]>
    If there is in header only the name without the email address then it's not extracted (email is visible after secondary click on the name)
    Example:
    From: Neville Hillyer
    I just checked that most of emails I have has in the emailheader only the name without the email address so I miss most of email addresses.
    Result of Command B:
    >
    And nothing going on...
    4. I tried the same in AppleScript editor
    Result of Command A:
    Syntax error. A unknown token can’t go after this identifier.
    I changed the path but I still get syntax errors
    (instead of i=~/Library... i put i= Users/muzaa/Library...)
    Result of Command B:
    Syntax error: A “from” can’t go after this identifier.
    grep -rh From: /Users/radimmuzikant/Library/Mail/[email protected]@pop.gmail.com | grep -o '[-a-zA-Z0-9.]*@.[^>]*' | awk '!seen[$0]++' > ~/Desktop/`date \"+%y%m%d%H%M%S\"`"

  • I cannot send email - error message as follows : 'The sender address (my email address) was rejected by the server smtp.tiscali.co.uk.' I can send email from other apple devices, and the email settings are identical. Any ideas?

    For some reason I cannot send email - all was working fine, but now I get the following error message when I try to send email:
    'The sender address (my email address) was rejected by the server smtp.tiscali.co.uk'
    I can receive incoming mail ok and I can send email from other Apple devices. The problem seems confined to my Mac Book Pro.
    Ant ideas?

    Hello there, Pablo639.
    The following Knowledge Base article offers up some great steps for troubleshooting mail issues on your Mac:
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/TS3276
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • We purchased a new iPad2 and registered it using a 'new' iCloud email/ID. We are unable to send email from the iPad and iPhone. The error is: Cannot send mail. The user name or password for iCloud is incorrect.

    We purchased a new iPad2 and registered it using a 'new' iCloud email/ID. We are unable to send email from the iPad and iPhone. The error is:>> Cannot send mail. The user name or password for iCloud is incorrect.

    About ~20 hours later, this ended up solving itself. We can send email using the '.icloud' email from both the iPad and iPhone.  Advise would be 'wait' before you start seeking alteranatives like yahoo, hotmail, etc.  This definitely is a convenient way to keep all your 'cloud' information in a centralized place, including the common email...

  • I have recently bought a macbook and am using outlook 2011 as email. i am getting an error message 4.7.0 not allowed when sending emails how do I fix?

    i have a macbook and am using outlook 2011 as email.   receiving okay.   sending okay sometimes.  am now getting error message 4.7.0 not allowed when sending.  what is the cause? how do I fix please?

    I have discovered that the emails have in fact been sent but much later, maybe it's a network problem with the people i am sending it to.  so i checked my sent items and they are there, but at the time the email doesn't go straight into the sent box or drafts so i'm assuming it's disappeared and type it again.  i'll keep going with it, until someone can give me a possible solution or explanation as to what is happening.

  • HT4519 sometimes when I send a mail it will go regardless of location or whether it has attachments, but more often than not they won't go and the message " a copy has been placed in your outbox. The sender address "my email blah blah was rejected by the

    Sometimes when sending a mail it will go more often it won't go, it doesn't seem to be relevant  to my geographic position and the message" a copy has been placed in your Outbox. The sender address" my email blah blah" was rejected by the server"     . Any ideas?

    Check the outgoing mail server setting. Make sure that your username and password are in there.
    Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

  • TS3899 With Yahoo Mail, and anotare account (Inacap Mail), I can only receive mails but I can't send emails. I don't know if this is a problem of the iPad or it is a problem with yahoo mail, because using Gmail and the email of my job I don' have this pro

    With Yahoo Mail, and anotare account (Inacap Mail), I can only receive mails but I can't send emails. I don't know if this is a problem of the iPad or it is a problem with yahoo mail, because using Gmail and the email of my job I don' have this problem.

    Google them to confirm the settings that you need for the outgoing server, then check the setting you entered on the pad.  Pay real close attention to the outgoing server name, and port.  You may need to change in on the pad. 

  • How to filter emails using sender email adapter

    Hi,
    Does any one know how to filter emails of mail server using Sender email adapter(POP3 protocol ) in PI .
    To make it more clear let us assume that there are 10 emails in the email server then 3 emails should be fetched for Interface A , 3 emails Should be fetched for Interface B and remaining 4 emails should be ignored and left in the email server as it is ,  the reason for this is that it is not related with the Interface A or Interface B. Any suggestion or solution will be much appreciated.
    Thanks & Regards
    Prabhat

    Hi,
    I guess you didnt get my requirement clearly. My requirement is how to filter emails from email server using sender Email adapter in POP3 protocl and pass it to relevant Interface.
    For ex: suppose email no.1 is related to Interface A then it should go to Interface A
                   or         email no. 2 is related to Interface B then it should go to Interface B
                   or         if  email no. 3 is junk mail then it should avoid deleting that email and leave that email as it is
    The problem/challenge here is that email adapter of Interface A or B reads it first and deletes the email message so it is not available for the Interface A or B.
    So I just want that sender email adapter should filter it before deleting email from the email server.
    Can you provide some solution for this?
    Thanks & Regards
    Prabhat

  • How to avoid repeated emails using send email tasks in package?

    Hi,
    I have package with two sqeuence containers which are not connected.So when I was using send email tasks I was getting repeated emails like 5 to 6 emails.So, can someone hep me on this.How can we avoid repeated emails.
    Regards,
    Sudha
    sudha

    See this example on preventing executing a task within an Event Handler:
    http://microsoft-ssis.blogspot.com/2014/07/prevent-events-executing-multiple-times.html
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

Maybe you are looking for