Setting Display Name for sent emails

Hi All,
I want to set a display name for sent emails. For example: when I send emails using [email protected] and after receivign this amil in my inbox it says from [email protected] Is there any way that I can show display name for this like Kartik <[email protected]>.
is there any API by which I can set this display name? Or this has to be done on mail server?
Any help would be appreciated!!
Thanks, Kartik

it asks for a attribute messageFrom and passes it to SMTPTransport. I have tried setting different values for messageFrom like
messageFrom=Test Email
messageFrom="Test Email"
but it didn't work for me. it expects a domain name there (even if its dummy) like
messageFrom=[email protected]
Can you tell me at which place InternetAddress is been called by SMTPTransport so that I can write my own impl for it.

Similar Messages

  • Setting a followup for Sent email without a reply

    Hi There,
    I am using OSX 10.5.8 and Mail 3.6.
    The problem I have is that I send that much email I often dont realize that some messages I send are never replied to.
    I want a way to mark messages that I am sending, that do not receive a reply in a user definable time frame, to prompt me via a ToDo (or other method) to follow up the recipient(s) of the original email.
    Or perhaps a script that someone has written that will allow me to go through by send folder and identify all emailed between date x and date y that have not had a reply to the send email.
    Any ideas?
    Regards,
    Abrax

    Each time it is run, the following script should delete the contents of a mailbox of your choice (the mailbox named "Unreplied messages" in the example) and copy into it every unreplied message of the "Sent" mailbox whose date is between a minimum date and a maximum date of your choice. I hope it can help.
    --BEGINNING OF SCRIPT
    set theAccountName to "the name of your account"
    set minimumDate to (current date) - 28 * days -- four weeks from now
    set maximumDate to (current date) - 7 * days -- one week from now
    set theSentMessagesMailboxName to "Sent"
    set theFollowUpMailboxName to "Unreplied messages" -- that mailbox must be created beforehand
    tell application "Finder" to set alreadyLaunched to (process "Mail" exists)
    if not alreadyLaunched then
    tell application "Mail" to launch
    delay 12 -- or longer, since Mail must connect and get mail before doing anything else
    end if
    tell application "Mail"
    set theUnrepliedMessages to messages of mailbox theSentMessagesMailboxName of account theAccountName whose (was replied to is false) and (date sent > minimumDate) and (date sent < maximumDate)
    delete every message of mailbox theFollowUpMailboxName
    repeat with currentMessage in theUnrepliedMessages
    duplicate currentMessage to mailbox theFollowUpMailboxName
    end repeat
    end tell
    --END OF SCRIPT
    Message was edited by: Pierre L.

  • Change display name of workflow email address in sharepoint 2010

    Hi
    How I can change display name of workflow email address in sharepoint 2010. I want to configure display name (from address)of email
     for each site collection separately.for example I want to change "software unit"
     in below pic to another name for my software unit site collection.
    How I can do this?
    Thanx.

    Hi,
    According to your post, my understanding is that you want to change display name of workflow email address in sharepoint 2010.
    In my environment, if I assign a task to a user, the email is as below:
    The “test” is the site name, the [email protected] is the “From” user.
    Do you want to change the “From” field in the workflow?
    If so, you can have a look at the "Send email extended" custom SPD workflow activity (http://www.codeplex.com/SPDActivities
    ) which allow you to specify the sender.
    Here are some similar threads for your reference:
    https://social.technet.microsoft.com/Forums/en-US/22d95510-95b7-4882-b988-4038e59fb031/how-to-change-the-display-name-for-sharepoint-emails-sent-using-workflows?forum=sharepointgeneralprevious
    http://sharepoint.stackexchange.com/questions/19186/changing-from-email-address-in-sharepoint-designer-2010-workflows
    http://sharepoint.stackexchange.com/questions/61964/how-to-change-the-from-address-in-feedback-workflow-email
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Email display name for mobile me

    is there a way to change my display name for my me.com email account to a gmail address? i have forwarded the gmail, and do not want the confusion of a new email address for recipients. under mail preferences, "send mail as", you can enter a name, but it will not let me include "@". thanks for any help.

    Post Author: amr_foci
    CA Forum: Publishing
    we are using microsoft mail server, and its working fine, i just write the Email, and i got the mail written by the name equivalant to this name in the Active Directory.
    and also its working fine when i write only the name
    wat mail server u r using?

  • How to change the display name for Gmail aliases?

    I have a Gmail account with multiple aliases. They look like this:
    Joe User <[email protected]> (Primary)
    Support <[email protected]> (Alias)
    Billing <[email protected]> (Alias)
    Works great. I'm trying to set up Apple Mail on my new MacBook to support the aliases as well. I am able to input the e-mail aliases, but the display names for all are 'Joe User' which defeats the purpose of having the aliases.
    I have to imagine I can do this. Can someone help me out?
    Regards,
    Dave

    Anyone came here, refer to this post.
    http://h30499.www3.hp.com/t5/Community-Feedback-Suggestions/change-of-display-name/m-p/6667672/highl...

  • How to get the DISPLAY name for a page in 309

    How do I get hold of the page DISPLAY name in Portal 309?
    I need it for the purpose of created a custom greeting and page menu tree.
    I can get the main internal name, but not the user friendly display name. It must be stored somewhere!
    Regards,
    John

    Did you find an answer for this? I am attempting to do the same thing. I want to create a portlet with all available pages to a user. I can not seem to find the display name table.
    [email protected]

  • Script to set display name in iCS Calendar view to the LDAP CN

    Script to set the display name in the Calendar view for iPlanet Calendar
    Server(iCS) to the LDAP common name(CN)
    By default, iCS uses a user ID(uid) based on an employee number, rather than on
    an employee's first and last name, as the calendar ID(calid).
    The current release of iCS (5.0 P2) does not create a display name for a
    calendar when a user enables a calendar by logging in; by default, it will
    list the calid again in the Display Name field of the Calendar view.
    For example, if an employee has a calid of "12345," when you click the
    Calendar tab to view the calendar, the Display Name will appear as follows:
    <P>
    12345 (12345)
    <P>
    A problem arises when a user tries to subscribe to another user's calendar.
    Although the search criteria are based on the calid and the Display
    Name, the only information currently stored in the calendar database is the
    calid. Therefore, users will be unable to subscribe to another
    user's calendar unless they know the calid of that person. The next
    patch release for iCS will remedy this problem by using common names(CNs) as
    the Display Names. That is, the database will store the CN values
    from LDAP for users, and the Calendar view will appear something as follows:
    <P>
    12345 (John Doe)
    <P>
    Until this next release of iCS, there are two options to work around this
    problem.
    <P>
    <OL>
    <LI>You can "provision" users by running the cscal
    administrative utility with the
    Display Name option.
    <P>
    OR
    <P>
    <LI>If the user community already exists, you can use the sample Perl script
    below to search through the calendars of users.
    <P>
    Note: If a default calid exists that doesn't have a Display Name, the script
    will search the LDAP directory to find a CN to set as the Display Name for
    that calendar.
    </OL>
    <P>
    <HR>
    <P>
    <B>Sample Perl Script:</B>
    #!/bin/perl5.004
    sub TRUE {1}
    sub FALSE {"}
    $SIG{INT} = 'handler';
    $SIG{QUIT} = 'handler';
    $mypath = $ENV{'LD_LIBRARY_PATH'};
    $savepath = $mypath;
    $ENV{'LD_LIBRARY_PATH'} = $mypath.';.';
    #--------------INITIALIZATION----------------
    $host="ldaphost";
    $base_dn="ou=People,o=iplanet.com";
    $port=389;
    $auth_dn="cn=Directory Manager";
    $auth_pwd="password";
    $found_confile = TRUE;
    $default_cal = FALSE;
    open(CSCAL,"./cscal -v list |");
    while($cal_list = <CSCAL>)
    if ($cal_list =~ m/: owner=/)
    @calid = split(' ',$cal_list);
    chop($calid[0]);
    print "\ncalid: $calid[0] ... ";
    $default_cal = TRUE if ($calid[0] !~ m/:/);
    } elsif (($default_cal) && ($cal_list =~ m/^ name=([a-zA-Z ]*)/)) {
    chomp($1);
    print "cal name: $1";
    if (($1 EQ ") || ($1 EQ $calid[0]))
    open(LDAPSEA,"./ldapsearch -h $host -p $port -b \"$base_dn\" -D
    \"$auth_dn\" -w \"$auth_pwd\" uid=$calid[0] |");
    while($ldap_list = <LDAPSEA> )
    if ($ldap_list =~ m/^cn: ([a-zA-Z ]*)/)
    chomp($1);
    `./cscal -n "$1" modify $calid[0]`;
    print "The display name for $calid[0] is being modified to be: $1\n";
    sleep(1);
    close(LDAPSEA);
    $default_cal = FALSE;
    close(CSCAL);
    sub handler
    local($sig) = @_;
    print "... Caught a SIG$sig--closing down shop\n";
    close(CSCAL);
    close(LDAPSEA);
    exit(0);
    }

    anne wrote:
    Hi David,
    About your confuse about"case when 1=2 then "product_d"."name" else "calendar_d"."year" end".
    You can try in your locale.
    You will find they are different.
    BASED ON THAT you have two table product_d and calendar_d AND they are related by one Fact table.
    THEN When you type in
    "case when 1=2 then "product_d"."name" else "calendar_d"."year" end"
    AND
    "calendar_d"."year",
    IT WILL SHOW U TWO different RESULTS.
    I need to show year which its related product is not null. but I cannot use SHOW->SQL RESULTS->TYPE SOME "WHERE..." because I also need to use "constrain"..
    That why I choose to use a case when function..
    So, do you have any idea about this?
    Regards,
    AnneWhy not use two filters in your request? Have something like this:
    product_d.name IS NOT NULL
    AND
    calendar.year IS PROMPTED?
    ...instead of using a CASE statement? This way you can have both filters show the way they should in a meaningful way.

  • SAML-based claims authentication in SharePoint: how to show Display Name instead of email address?

    Hello,
    I followed the following step by step guide for SAML-based claims authentication with ADFS:
    http://technet.microsoft.com/en-us/library/hh305235.aspx
    The authentication works well; however, Sharepoint shows the users’ email everywhere including at the top right suite-bar. I rather to see users’ display name instead of email. Is there any way to have SharePoint shows user’s display name instead of email
    address when the primary SAML claim is email address?
    Thank you,

    You need to be able to import the identity store into the UPA. See http://sharepointobservations.wordpress.com/2013/08/06/sharepoint-2013-configure-user-profile-service-for-adfs-provider/ for
    a good step-by-step on how this is configured.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Setting Importance Level for a email message using javax.mail.* API

    Setting Importance Level for a email message using javax.mail.* API
    From what I understand we can set Flag on Email Message. How can we set Importance Leve: High/Low for an email message?
    Thanks
    Purvi

    Most of the message Flags work only for IMAP mailboxes. POP3 supports only the DELETED flag. It must be understood that Javamail is a framework which provides all the features available in a standard mailing system. But whether or not a particular feature works is a functionality of the particular implementation being used.
    Thus for example POP3 cannot differentiate read from unread messages in a mailbox though Javamail provides that feature.

  • Using alternative display names on one email alias

    Sometimes I'd like send email using one display name (ie "Mr. Happy") and sometimes with another ("Mr. and Mrs. Very Happy"), both using the same email account. Is there a way to set that up without creating a duplicate account? Thought I'd seen a reference, but can't find it now...

    Thank you. This is great help-it's got me looking in the right direction.
    I have not been managing aliases, so I'm wondering how to load the db and edit it. This is my first mail server and my first email setup for osx so I'm a newbie.
    I've found the following resources:
    http://developer.apple.com/documentation/Darwin/Reference/Manpages/man1/postalia s.1.html
    and
    http://developer.apple.com/documentation/Darwin/Reference/Manpages/man5/aliases. 5.html#//apple_ref/doc/man/5/aliases
    But I'm a little lost as to how to edit the configuration file, and I'm a bit lost on where it is. I've found a file titled "aliases.db" within the /etc folder that I have opened with a text editor. It lists some of the email addresses in my company, but there's also some garbled information in it. So I believe this is the file I would need to edit, but I'm not sure.
    Can you please give me a little more help as to how to edit this file and reload it? I really appreciate it.
    -John

  • Display name for shared mailbox

    Hi, by our customer I just installed new exchange 2013 server. I have created severalls shared mailboxes. And now, the customer want, that when somebody from the company send, or answer to an email, the recipient can see how has send the email. For example,
    the shared mailbox has display name "Service", user who has full access to this shared mailbox has display name "John", is there any way to merge these display names, so the recipient can see for expample "Service - John" as sender
    of the email?
    Thanks

    Hi,
    From your description, you want to set the displayname of the shared mailbox. I have a test in my lab, you can run the following cmdlet to achieve it.
    Set-User -Identity xxx -DisplayName "xxx"
    About the Identity parameter, you can use alias of the shared mailbox.
    Hope it helps.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • How to set Alias name for URL or change  URL..

    Hi:
    I am using Apache Tomcat as web server, it contains multiple web applications.
    Url for one of this application is, e.g. http://localhost:8080/myapplication. This particular url work fine.
    But i want to use only mypage word instead of all the above url.
    So how to set or map this?
    Thank You,
    Anup Desai.

    Thank you.
    I tried to set the displayname (using setPersonal function)
    Still its not working.
    I feel it is because during authentication we give the login name (which is taken as the display name).
    Is there any way to change without touching configuration level properties in exchange server 2007.
    thanks in advance

  • Change display name for existing users

    Hi,
    We have alot of users in our Active Directory. After an migration our existing users are displaying their name wrong. When we create a new user the display name is set FirstName LastName. But all of our old users have their User logon name as display name.
    Is there a way to change the display name of our old users to FirstName LastName instead of the user logon names they are displaying now? Doing this per user is a hell of a job so this really isn't an option.
    Example:
    Full name: Peter Peterson. User logon name: pepeter. Display name: pepeter. (old user)
    Full name: Tom Thompson. User logon name: tothomp. Display name: Tom Thompson. (new user)
    Greetz,
    Tom

    I have found a script for Powershell that may be the answer to my question. There is only one thing that is not in the script. The script runs for all users. The PageSize is set to 2000 so it runs 2000 entries. Is there a way that I can run this script for
    all Users in AD that start with the letter "A" or with an other letter. :P
    $previewMode = $true #change value to $false ONLY after you have verified the preview!!!
    $CurrentDomain = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()
    $Domain = [System.DirectoryServices.DirectoryEntry]"LDAP://$CurrentDomain"
    $Searcher = New-Object System.DirectoryServices.DirectorySearcher
    $Searcher.PageSize = 2000
    $Searcher.SearchScope = "Subtree"
    $Searcher.Filter = "(&(objectCategory=person)(objectClass=user)(!(objectClass=computer)))"
    $Searcher.PropertiesToLoad.Add("userPrincipalName") > $Null
    $Searcher.PropertiesToLoad.Add("givenName") > $Null
    $Searcher.PropertiesToLoad.Add("sn") > $Null
    $Searcher.PropertiesToLoad.Add("distinguishedName") > $Null
    $Searcher.SearchRoot = "LDAP://" + $Domain.distinguishedName
    $SearchResults = $Searcher.FindAll()
    $dnsSuffix = $CurrentDomain.Name
    foreach ($Result in $SearchResults){
                   $firstName = $Result.Properties.Item("givenName")
                   $lastName = $Result.Properties.Item("sn")
                   $newLogonName = "$firstName $lastName"
                    [System.DirectoryServices.DirectoryEntry]$userObject = $Result.GetDirectoryEntry()
                    $oldLogonName = $userObject.sAMAccountName
        Write-Host "Changing $oldLogonName to $newLogonName..."
        try {
            if (!($previewMode)) {
                       $userObject.cn = $newLogonName           
               $userObject.CommitChanges()
            Write-Host "$oldLogonName successfully changed to $newLogonName."
        catch{
            Write-Host "Error changing $oldLogonName to $newLogonName."

  • Email account number instead of my name in sent emails

    Upgraded to Mavericks recently and now my sent emails show my internet account number not my name.  My provider (Bell) says it's a Mac issue, and as the emails send perfectly from their BellMail site it does point to being an Apple issue.  Full name details are shown correctly in Mail Preferences, but any email I send only has the account number in the 'From'.  Any ideas?

    Constant requests for password generally indicates you need to add password again in the Account.
    1) Open Keychain Access in Applications/Utilities. Run Keychain First Aid.
    Choose Keychain Access > Keychain First Aid.
    Enter your user name and password.
    Select Repair and click Start.
    If any problems are found run again to verify all repaired.
    For good measure, run Repair Permissions in Disk Utility.
    Next, open Mail. Under Window in the Menu bar select Connection Doctor. You will see green to indicate a connection and red to show there is a problem. Except for iCloud account you'll see two entries for each account 1) receiving and 2) SMTP for sending.
    Edit Receiving password in the main Account window. Enter password then click out to select Save. Verify in Connection Doctor that it is now connecting.
    EDIT SMTP SETTINGS
    In Accounts window > Outgoing Mail Server SMTP:  select to Edit SMTP Server list... from popup.
    Select account in the list.(It's not uncommon to find extra SMTP servers listed. When you remove account, Mail does not delete the smtp info. You might need to do some clean up in the list to remove the extras.)
    Under Advanced Tab:
    Apple defaults to the default ports (25,465, 587) but some servers prefer a custom port. Check to see what port they recommend. Gmail for example likes 465, Outlook.com 587.
    Verify if your server require SSL.
    User Name. Enter full email address  eg.  [email protected]
    Add password if it is blank.(If you have two step authentication setup, you'll need to get an app specific password  more info)
    http://www.google.com/landing/2step/
    Open Connection Doctor under Window in the Menu bar.
    Do you see green light now for your account SMTP?
    Let me know if this helps.

  • WebCamera How to set display name

    It' possible to setup a display name different from the name on LCCS?
    I have OWNER on LCCS but I want display my name.
    (I don't wont change the name  on LCCS)

    Hi,
    There is no direct way of changing the name in LCCS because it takes the name from your user descriptor and shows it.
    If you want to show your custom name, what you can do is subclass the WebcamSubscriber's layoutCameraStreams() function and in that look for the line
    cBar.cameraUserLabel = ud.displayName;     
    You may want to change that line by setting something of your own.
    Hope this helps
    Thanks
    Hironmay Basu

Maybe you are looking for