Defaulting the email address in From field.

Hi ,
I am working on requirement to default the email address in from field and populate the eligible emails ID 's as drop down in from field based on some condition. So I need to overwrite the standard emails data that are already coming in from field.Please see the attachment for your reference.
I did below analysis.
Component:CRMCMP_CCS_EML
View:Email header
Method: DO_PREPRRE_OUTPUT.
I achieved populating the drop down values..by populating the values in   typed_context->mail->gt_default_from_addresses.
But my requirement is to default one email based on some condition. So I populated the default value as first entry in the  drop down list box so that it will automatically default.
It's working as expected if we have personalizing setting for Drop down list as 'Default'.Please see the attachment for your reference. But it's not working if we have settings like 'By Value' and 'By Key'.
Ex: If I have two emails in GT_DEFAULT_FROM_ADDRESS like .[email protected],CC(First entry Default)[email protected](Second entry). if I use the settings 'Default' it's default with [email protected] if i use other setting it's defaulting with [email protected]
Could any one has any idea how to handle this..and options that we have in this case.
Or is there any other field I can default for From Field. (This should work for New ,Reply and Reply all )
I appreciate your help on this.
Thanks,
SaraSAP.

Hi Sara,
I believe that selection is controlled by attribute typed_context->mail->GV_SELECTION_FROM.
So, when you populate the possible entries in typed_context->mail->gt_default_from_addresses, just try to fill your desired default value in mentioned attribute and check if that works.
Kind regards,
Garcia

Similar Messages

  • How to create Oracle Alert without metioning the email address in To Field

    Hi,
    I just wanna know that how to create Oracle Alert without metioning the email address in To Field.
    Please help thanks.

    If you don't enter anything in the email field, the alert email won't go out.
    If you just want to test or if you plan to use the history, you can put a non-existant email there.
    The alert will fire anyway.
    Hope this helps,
    Sandeep Gandhi

  • Adding additional email addresses to From field

    In the default iOS Mail app, how can I add additional email addresses to the "From" field? It only allows me to select accounts which are set up on the phone. However I have one email account which forwards to another, but I want to respond to those messages using the original address it was sent to.

    SOLVED.
    Once a ePrint job had been submitted from each of the email addresses I added in the Allowed Senders Only list, all emails showed up on the ePrint Settings list. Works fine.

  • IPhone automatically places different email address in From field.

    When I receive an email to my @me address (which is an alias), then hit reply to respond, my iphone automatically places my @mac address in the From field. Why won't it automatically reply from the same email that the message was received in?
    Just to clarify:
    I received an email to my [email protected] address. When I reply to the message, my phone automically places [email protected] into the From field.
    So I have to tap the From field to switch it back to the [email protected]
    This works fine on my computer. The email that received the message is the same email that is automatically placed in the From field.
    Any suggestions

    the .mac is my default.... but it's alway been the default and I've never has to switch it in the past. I just recently had upgrade the software on my phone, though.

  • I have lost the email Address Book from the menu bar. How do I get it back?

    I have lost the address book from the menu bar. How do I get it back?

    Which menu bar?  Finder or your email client?  Which email client are you using btw?  If your email client you can customize your menu through the view>toolbars menu.
    If Mail it's view>Customize Toolbar 
    Finder menu it's System Preferences>Users & Groups>your account>unlock the padlock>Login Items - add the address book by clicking the "+" sign.  When done lock the padlock. 

  • Map the email address from another MSAD attribute

    Hi Gurus,
    How can we map SOA to get the email address from the otherMail field in MSAD instead of the default mail attribute.
    Saw this somewhere, <property name="user.login.attr" but nothing about email mapping.
    Appreciate your help as this is delaying our project..
    Thanks

    Hi ,
    Please share me the entire NDR or error message which you have received at the your end .
    Thanks & Regards S.Nithyanandham

  • Default address in "from" field?

    I have 4 e-mail accounts that Mail checks. When I write an e-mail (that is not an answer) I want the "from" address to be my Mac account. Mail does not remember this.
    If I LOOK in another mailbox, then Mail changes the "From" to be from that mail box account. How do I set the default to always be my Mac account??

    Any way I can set the default "from" field based on the account I'm sending from?
    I have two accounts defined: work and personal. Each account has 2 email addresses associated with it (as a comma-separated list in the "Email Address" field under "Account Information"). Let's call the email addresses work-A, work-B, personal-A, personal-B.
    In the Composing prefs I can either select ONE default email address to send ALL mail from, or I can select to send from "Account of Last Viewed Mailbox", in which case Mail will choose a work email address if I'm in a work mailbox and a personal email address if I'm in a personal mailbox.
    That second option is great, except I can't control which work email address it chooses - A or B. Changing the order of the email addresses in the Account Information->Email Address field has no effect - it consistently chooses the "wrong" one :-/
    Any way I can use "Account of Last Viewed Mailbox" and still set a default mail address per account?

  • Confgure the email address field validation in OIM

    Hi,
    Is there a way we can configure the email address field of OIM to allow some special characters which are part of RFC like "&".
    By Default, OIM allows only ASCII letters, digits, dot, - and underscore in the local-part of the email address. But we have a requirement to allow "&".
    Please let me know if it is configurable.
    Thanks

    I am using
    Version: 9.1.0.1862.14
    Build 1862.14
    I got the info that OIM does not allow by default from this link
    http://download.oracle.com/docs/cd/B32479_01/doc.903/b32455/componts.htm#CIHCCEAF
    But if it does, then it would be great.

  • Send email from MobileMe alias, not default MM email address?

    On my iPhone I have MobileMe email. It uses the default email address/username that I signed up for .Mac/MobileMe
    Is there any was to use one of my aliases to send emails from the iPhone rather than the default email address?
    In the desktop Mail app I just changed the email address in Preferences to the alias I wanted to use. But in Preferences on the iPhone the email address is greyed out, so I can't change it.

    I have asked MobileMe live support this exact question and the response was that it is not possible at the moment but it is on the table as a possible future update.

  • Default Email Addresses Picked From Address Book in Groups?

    Many of the records in my address book have more than one email address. When I am sending an email to that individual I start to type their name and am presented with the various choices -- I believe the address I most recently used (or maybe most recently received from) is at the top.
    But I just ran into some troubles.
    I made a Group of people and want to send a mass email. But, unbeknown to me the email addresses seem to be picked as the first one on the address card.
    Do you follow?
    How do I create the groups so mass mailings go to the email specify?

    Hi wsnuggs, and a warm welcome to the forums!
    You may very well get an answer here, but it's quite acceptable to start a new topic of your own, feel free to start a new topic to attract more helpers to your particular situation should it be a little different, here's a link if as is often the case, it's hard to find out where to do it...
    http://discussions.apple.com/post!default.jspa?forumID=753

  • When emailing photos from iPhoto the list of the recipients from my mail facility is not accessed so I have to enter the email address for the person again although I have the person in my email contacts

    When trying to email a picture to someone who already exist in my email contacts from Iphoto i have to type the email address in full.  in email when I enter the first few characters the address is shown.  Can Iphoto access my contacts instead of me typing the whole address.  The old version did that.

    my email links will not open firefox or if open will not go to the browser/site.
    since changing to firefox, my email do not work. I have made firefox the default and deleted the prevoius browser and restarted my pc....

  • How can you edit the Email Address field in Mail without deleting the account?

    I have a few accounts and the email address domain of my work account has changed but it seems to be one of the fields you cannot change.
    On my iPhone it was simple ... you can just edit the field and it works.
    My Email comes in fine but mail auto selects accounts based on the domain of who you are emailing and now that it has changed its not doing that anymore.

    If you're running iOS 6, to change your iCloud ID go to Settings>iCloud, tap Delete Account, then sign back in with the new ID.  This deletes the account and your iCloud data from your device, but not from iCloud.  Provided you are signing back into the same account, your iCloud data will reappear on your device when you sign back in.
    To avoid losing photo stream photos, save them to your camera roll (if not already there) before deleting the account.  To do this, open your my photo stream album, tap Edit, tap the photos, tap Share, then tap Save to Camera Roll.

  • HT201407 hi..I cant activate my Iphone 5. I bought this from someone who cant remember her apple password and even the email address that she used to set up the account.What am I gonna do now....How can I activate my Iphone. what are my options...pls help

    hi..I cant activate my Iphone 5. I bought this from someone who cant remember her apple password and even the email address that she used to set up the account.What am I gonna do now....How can I activate my Iphone. what are my options...pls help me.thank you

    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818
    hannibalfromlemery wrote:
    .I cant activate my Iphone 5. I bought this from someone
    The Apple ID and Password that was Originally used to Activate the iDevice is required.
    If you cannot get this information from the seller
    Removing a device from a previous owner’s account
    You need to return the Device for a refund, as you will not be able to re-activate it.

  • I have version 3.6.16 and when I login to my hotmail account, and type the first letter of the email address, a drop down box appears with my hotmail address and I can choose it from that box with a click. How do I get version 4 to do this? Thanks.

    I have version 3.6.16 and when I login to my hotmail account, and type the first letter of the email address, a drop down box appears with my hotmail address and I can choose it from that box with a click.
    How do I get version 4 to do this?
    Thanks.

    The new but not-ready-for-prime-time autocomplete method searches for matches that contain the entered text, not just ones that begin with the string. Your options are:
    1) type in longer strings that narrow the search
    2) use an add-on to search just the beginnings:
    https://support.mozilla.org/en-US/questions/1037469
    3) install an older version of TB:
    http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/

  • How do I change my iPod onto my new apple account from my old account? It always ask's me for my old password, which I can't remember, and no longer have the email address. Thanks

    How do I change my daughter's  iPod onto my new apple account from my old account? It always ask's me for my old password, which I can't remember, and no longer have the email address. Thanks

    Purchases are locked to the account that purchased them. Thus first try to recovery use of the original account.
    Also, yo have obtain use of the original account to deactivae the Activation Lock
    Find My iPhone Activation Lock
    Is there a way to find my Apple ID Name if I can't remember it?
    Yes. Visit My Apple ID and click Find your Apple ID. See Finding your Apple ID if you'd like more information.
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. See Changing your Apple ID password if you'd like more information.
    The method includes if you do not have access to your original email account.
    The
    I no longer have an email address that was also my Apple ID. Can I still use the email address as my Apple ID?
    Apple recommends you change your Apple ID to your current, working email address. This will not create another Apple ID, it will only change it to your working email address. See Changing the name you use for your Apple ID if you'd like more information.
    CHANGE ID
    Apple ID: What to do after you change your Apple ID
    The ID is used in the following locations and you  have to change them.
    Settings>Messages>Send and Receive
    Settings>FaceTime
    Settings>GameCenter
    Settings>iCloud
    and Settings>iTunes and App store
    You  have to sign out of ID (for iCloud you delete the iCloud account from the iPod) and sign in with other ID.
    Note the following are resolved if you  use Family Sharing (iOS 8 and later):
    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.

Maybe you are looking for