Mail to multiple recipients in sent mail index

When I send mail to multiple recipients (all in the "To:" field), for some reason when I view the Sent index, only the first recipient shows up. (If I open the message, I see all recipients listed.)
In Mail version 1, which I had been running on a prevoius machine with 10.2.8, all the recipients would appear in the sent mail index.
For example, let's say I email Joe, Tom, Gary. If I go to the Sent mailbox, I only see "Joe" in the "To" column. Before, I'd see "Joe, Tom, Gary."
Any way to change a setting to restore this? It makes it easier to see to whom I sent what.

use string tokenizer to tokenize the string and then use this in ur smtp coding
message.addRecipients(Message.RecipientType.TO, to)
where 'message' is object of MimeMessage
and 'to' is array of Address
ex:-
Address[] to = new Address[count];
Earlier u must be using message.addRecipient(Message.RecipientType.TO, to)
where to is object of Address.
Sample code:-
suppose String posted from ur form is :-
to = "[email protected],[email protected],[email protected]"
StringTokenizer toAdd = new StringTokenizer(to,",");
Address[] address=new Address[toAdd.countTokens()];     
int j=0;
while(toAdd.hasMoreTokens()){
address[j]=(new InternetAddress(toAdd.nextToken()));
j++;
}

Similar Messages

  • Sending mail with multiple recipients as one mail?

    The project I'm working on to migrate users to the new 7.x messaging platform keeps asking me to do some special configurations.
    I got this question today...
    xxxxxxxxxxxxxxxxxxxxxxxxx
    4. As inquired, when sent from SunMail to/copying multiple addresses, the outgoing email is replicated as many as the number of addressees
    (For example, if you are sending an email to 10 people, the email is sent as 10 emails)
    In the Exchange system, email to multiple recipients is replicated in the Top Mail Server. But in SunMail, such email is replicated to 10 emails when being sent.
    We want SunMail emails to remain as a single email when being sent and only to be replicated to each recipient in the Top Mail Server.
    This may be dependent on the specs of mail software, which means it may not be able to fix, but please confirm.
    xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    The "top mail server" is just some postoffice product, appliance type mta for sendmail.
    Is there anyways to pass along the email without expanding the recipients into individual mails?
    Thanks.
    -Ray

    Ray_Cormier wrote:
    Hey Kelly, longtime no chat. Thanks for such a detailed and informative answer. I read over the link, that explains a lot. The old system is a 6.3. Unfortunately I have a very limited access to the old production systems and can't do much. Otherwise information is like pulling teeth around here. I've copied over all the configuration files and I am going through that stuff now.I recommend you compare the old MS6.3 configuration with the new MS7u3 default (configuration) settings and make changes to the MS7u3 settings only where necessary. Using the old MS6.3 settings may no longer be appropriate for the new environment.
    I think the main thing here, is that the default behavior in the proposed 7.x system will give them the results they seek, does that sounds like a fair assumption?Taking a step back I question the initial statement:
    "4. As inquired, when sent from SunMail to/copying multiple addresses, the outgoing email is replicated as many as the number of addressees".
    From a strictly performance/storage perspective it makes no sense to "replicate" an email and the MTA goes to great lengths to avoid such replication where possible. Kelly has pointed out one scenario where replication will occur ("single" channel keyword) but this is not enabled by default (for good reason). There could be other causes e.g. conversion channel or sieve filters or spam filtering that operates at the envelope recipient level.
    So if this "replication" behaviour is occurring in the old environment then without understanding why it is occurring you cannot assume it won't occur in the new environment -- especially if you are copying across the old config files.
    Regards,
    Shane.

  • Sending mails to multiple recipients

    Hi,
    I need to send an e-mail to multiple recipients, none of which may know that the mail was sent to others as well. Of course, the first idea was to use the BCC-field. However, if I do that, the receipients get a mail with an empty To-Field, which looks both stupid and suspicious. Is there a way to send a mail in such a way that each recpient has their own address in the To-Field? I also played around a bit with Automator but I couldn't find anything.

    Hi Phunkjoker!
    I don't think you can, except by sending each individually.
    The only alternative that I can figure out is to send it to yourself, and have the other recipients in the BCC field?

  • Sending Mails to Multiple Recipients using UTL_SMTP

    create or replace procedure send_mail(msg_text varchar2) is
    c utl_smtp.connection;
    PROCEDURE send_header(name IN VARCHAR2, header IN VARCHAR2) AS
    BEGIN
    utl_smtp.write_data(c, name || ': ' || header || utl_tcp.CRLF);
    END;
    BEGIN
    c := utl_smtp.open_connection('outlook.abc.com');
    utl_smtp.helo(c, 'abc.com');
    utl_smtp.mail(c, '[email protected]');
    utl_smtp.rcpt(c, '[email protected]');
    utl_smtp.open_data(c);
    send_header('From', '"root" <[email protected]>');
    send_header('To', '"abc" <[email protected]>');
    send_header('Subject', 'WARNING: Salary has been changed');
    utl_smtp.write_data(c, utl_tcp.CRLF || msg_text);
    utl_smtp.close_data(c);
    utl_smtp.quit(c);
    EXCEPTION
    WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
    BEGIN
    utl_smtp.quit(c);
    EXCEPTION
    WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
    NULL; -- When the SMTP server is down or unavailable, we don't have
    -- a connection to the server. The quit call will raise an
    -- exception that we can ignore.
    END;
    raise_application_error(-20000,
    'Failed to send mail due to the following error: ' || sqlerrm);
    END;
    ==============
    when I execute the above using
    sql> exec send_mail('hihihih');
    I am getting the mails..no problems...
    So..I created the following trigger and used the above procedure to send the mail...
    CREATE OR REPLACE TRIGGER test_emp_table_trg
    AFTER UPDATE
    ON test_emp_table
    FOR EACH ROW
    WHEN (NEW.sal <> OLD.sal)
    DECLARE
    l_employee_name VARCHAR2 (240);
    l_old_sal VARCHAR2 (240);
    l_new_sal VARCHAR2 (240);
    l_message VARCHAR2 (240);
    BEGIN
    /* Gets the employee full name */
    BEGIN
    SELECT ename
    INTO l_employee_name
    FROM test_emp_table
    WHERE empno = :OLD.empno;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_employee_name := NULL;
    END;
    /* Gets the old Salary */
    BEGIN
    SELECT sal
    INTO l_old_sal
    FROM test_emp_table
    WHERE empno = :OLD.empno;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_old_sal := 0;
    END;
    /* Gets the new salary */
    BEGIN
    SELECT sal
    INTO l_new_sal
    FROM test_emp_table
    WHERE empno= :NEW.empno;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_new_sal := 0;
    END;
    l_message:=
    'Employee Name= '
    || l_employee_name
    || 'Old Salary= '
    || l_old_sal
    || 'New Salary= '
    || l_new_sal;
    BEGIN
    send_mail (l_message);
    END;
    END;
    ===================
    I am not getting desired output..what might be problem friends...I am getting 0 values for old salary and new salary......
    One more thing..when i use 2 receipts in the send_mail procedure like this...I added the following lines in the procedure to send to multiple receipents..
    ======
    utl_smtp.rcpt(c, '[email protected]');
    utl_smtp.rcpt(c, '[email protected]');
    =============
    Pleas have a look and correct me, where i went wrong....
    Edited by: oraDBA2 on Sep 22, 2008 3:12 PM

    Hi, You can use the following routine to send mail to multiple recipients through utl_smtp.
    create or replace package mail_pkg
    as
    type array is table of varchar2(255);
    procedure send( p_sender_e_mail in varchar2,
    p_from in varchar2,
    p_to in array default array(),
    p_cc in array default array(),
    p_bcc in array default array(),
    p_subject in varchar2,
    p_body in long );
    end;
    create or replace package body mail_pkg
    begin
    g_crlf char(2) default chr(13)||chr(10);
    g_mail_conn utl_smtp.connection;
    g_mailhost varchar2(255) := 'ur mail server';
    function address_email( p_string in varchar2,
    p_recipients in array ) return varchar2
    is
    l_recipients long;
    begin
    for i in 1 .. p_recipients.count
    loop
    utl_smtp.rcpt(g_mail_conn, p_recipients(i));
    if ( l_recipients is null )
    then
    l_recipients := p_string || p_recipients(i) ;
    else
    l_recipients := l_recipients || ', ' || p_recipients(i);
    end if;
    end loop;
    return l_recipients;
    end;
    procedure send( p_sender_e_mail in varchar2,
    p_from in varchar2,
    p_to in array default array(),
    p_cc in array default array(),
    p_bcc in array default array(),
    p_subject in varchar2,
    p_body in long );
    end;
    is
    l_to_list long;
    l_cc_list long;
    l_bcc_list long;
    l_date varchar2(255) default
    to_char( SYSDATE, 'dd Mon yy hh24:mi:ss' );
    procedure writeData( p_text in varchar2 )
    as
    begin
    if ( p_text is not null )
    then
    utl_smtp.write_data( g_mail_conn, p_text || g_crlf );
    end if;
    end;
    begin
    g_mail_conn := utl_smtp.open_connection(g_mailhost, 25);
    utl_smtp.helo(g_mail_conn, g_mailhost);
    utl_smtp.mail(g_mail_conn, p_sender_e_mail);
    l_to_list := address_email( 'To: ', p_to );
    l_cc_list := address_email( 'Cc: ', p_cc );
    l_bcc_list := address_email( 'Bcc: ', p_bcc );
    utl_smtp.open_data(g_mail_conn );
    writeData( 'Date: ' || l_date );
    writeData( 'From: ' || nvl( p_from, p_sender_e_mail ) );
    writeData( 'Subject: ' || nvl( p_subject, '(no subject)' ) );
    writeData( l_to_list );
    writeData( l_cc_list );
    utl_smtp.write_data( g_mail_conn, '' || g_crlf );
    utl_smtp.write_data(g_mail_conn, p_body );
    utl_smtp.close_data(g_mail_conn );
    utl_smtp.quit(g_mail_conn);
    end;
    end;
    begin
    mail_pkg.send
    (p_sender_e_mail => 'urmail',
    p_from => 'urmail',
    p_to => mail_pkg.array( 'urmail','othersmail' ),
    p_cc => mail_pkg.array( ' othermail ' ),
    p_bcc => mail_pkg.array( '' ),
    p_subject => 'This is a subject',
    p_body => 'Hello Buddy, this is the mail you need' );
    end;
    /

  • How to select multiple recipients in iPad mail

    I have read that I can't create groups, but how to select multiple recipients in iPad mail?
    I was looking for this when setting up for two new people who are going to have the iPad as their only device.. and they do need to email a bunch of people at once..
    I was sending out the 'I have a new email address' BCC for them.
    Thanks.

    You can select multiple contacts by tapping on the + sign in the upper right corner in the To: field when you are typing a new email. Just keep tapping the + sign and your contacts will pop up in a window. Select the contact that you want to add, repeat the process in order to add as many recipients as you want.
    There are other mail apps that let you creat groups and email to those groups.
    https://itunes.apple.com/us/app/group-email!-mail-client-attachments/id380690305 ?l=es&mt=8
    https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
    I am sure there are other, but those are two that I know of.

  • Is multiple recipients allowed for mail type workitem?

    I have one "Send Mail" step in my workflow, I want to send the mail to multiple recipients, one of the recipient is &_WF_INITIATOR& the workflow initiator which is dynamically determined at runtime and other recipients &RECIPIENTS& of the mail are determined by application. So can I set the recipients of this "Mail" with expression like this:
    &_WF_INITIATOR&;&RECIPIENTS&, split them with ";" like outlook?
    Thanks for your answer.

    Hi,
    If I am not wrong, RECIPIENTS is a MULTI LINE CONTAINER ELEMENT which gets determined from the Application. Why dont you add your WF_INITIATOR logic also to that Application logic, so that RECIPIENTS contain the WF_INITIATOR also?
    You cannot set Mail Expression as :<i>&_WF_INITIATOR&;&RECIPIENTS&</i>.
    You can only set only one Container(single/multi line) Element for each mail step.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • TS4002 Mail with multiple Bcc shows "sent" but was never delivered to anyone. Help?

    Mail with multiple Bcc shows "sent" but was never delivered to anyone. Help?

    Any guess at how to fix it or is a reinstall in my future?
    Start by looking at the logs for an example. There will be some indication in the logs as to what happened to the message.
    Depending on how busy your server is, this might be as simple as tail -f /var/log/mail.log while you send such a message from your mail client.

  • HT5361 How can I forward mail to multiple recipients?  When I try to add an address, it replaces the previous address

    How can I forward mail to multiple recipients?  When I add an address, it replaces the previous address.

    Using the + button helped--should have been obvious, but I haven't been using it.  It works but seems very cumbersome to add one at a time.  I had another list of addresses that I could hold down the command button while selecting as many as desired, then click on BCC and double-click on just one of the addresses, and BCC would autofill with all of them.  Unfortunately, when I installed the latest Mac system update, I lost that multiple address capability--it's always something!

  • Retrieve multiple e-mail address and send mail to multiple recipients

    Hello,
    I wonder if somebody could help me...at least with the clue to do the following.
    I have a form, with a textarea , where the people should put the e-mail addreses of all the people that later will receive all the form data via e-mail..
    I do not know how to retrieve all this e-mail addresses from the textarea (format?) and then how to send the e-mail to multiple recipients .
    It works for one...but I do not know how to do this for several recipients...
    could you please help?

    There is a setReceiptants method on the Message object.
    http://java.sun.com/products/javamail/javadocs/javax/mail/Message.html#setRecipients(javax.mail.Message.RecipientType,%20javax.mail.Address[])
    You will need to create an array of Addresses to feed it (just make space, commas, and semi-colons be tokens in your string and iterate it to create the address array)
    travis (at) overwrittenstack.com

  • How to see bcc recipients in sent mail, AppleMail 5.3?

    Cannot locate the list of hidden recipients under "sent" mail in Applemail 5.3. When I go to "View," and go to "message," there is no option that will call up the list of "bcc" recipients. How can I check a recipient list if one that I used when sending an email remains hidden?

    Wish I could be king. But you described the problem perfectly and I am still but a pawn. All I can say is that I trashed the mail preferences (com.apple.mail.plist) on my Mac Mini, and now my MacBook seems to work right.
    Sorry. :>) But that is the truth... The MacBook now has actually sometimes displayed pasted text in its actual, different, font and style as I paste it into a partially composed new mail message.
    In other (more rational) words, the problem seems to be tied to pasting only certain types of text. I have not been able yet to pinpoint what. Yes, frustrating indeed. The only work-around has been to re-train my fingers to command-option-shift V, for "paste and match style" (like you, I do not want to always use only plain text). Maybe someone else will eventually weigh in with a real solution. The solution I want is just to be able to consistently see any font variations within my message before I send the email.
    The info about the different ppi scales between Windows and Mac is interesting, although not relevant to this particular problem. It does explain the apparent overall size differences I have seen before.

  • How do I send mail to multiple recipients?

    I am running Mavericks 10.9.5.  I am having trouble sending mail to multiple recipients.  I type in the first person’s name and the e-mail address appears.  When I want to send mail to 2 more people, I can’t.  I type a comma and then a space and then the second person’s name.  All that appears is a duplication of the first person’s name.  I did not have this kind of trouble when I was running OS X, version 10.6.8.  I could type the names of all recipients in the “To”
    line.  What can I do?

    See the response to your other post

  • Send e-mail to multiple recipients that are entered in a form

    Hello,
    I wonder if somebody could help me...at least with the clue to do the following.
    I have a form, with a textarea , where the people should put the e-mail addreses of all the people that, later will receive all the form data via e-mail..
    I do not know how to retrieve all these e-mail addresses from the textarea (format?) and then how to send the e-mail to multiple recipients .
    It works for one...but I do not know how to do this for several recipients...
    could you please help?

    use string tokenizer to tokenize the string and then use this in ur smtp coding
    message.addRecipients(Message.RecipientType.TO, to)
    where 'message' is object of MimeMessage
    and 'to' is array of Address
    ex:-
    Address[] to = new Address[count];
    Earlier u must be using message.addRecipient(Message.RecipientType.TO, to)
    where to is object of Address.
    Sample code:-
    suppose String posted from ur form is :-
    to = "[email protected],[email protected],[email protected]"
    StringTokenizer toAdd = new StringTokenizer(to,",");
    Address[] address=new Address[toAdd.countTokens()];     
    int j=0;
    while(toAdd.hasMoreTokens()){
    address[j]=(new InternetAddress(toAdd.nextToken()));
    j++;
    }

  • I have old QuickMail Pro on my old iMac OS 9. Can Quick Mail's inbox, outbox and sent mail be downloaded onto an external hard drive?

    I have QuickMail Pro on my old iMac OS 9. Can Quick Mail's inbox, outbox and sent mail be downloaded onto an external hard drive? If so, how? I tried to drag and drop but that didn't work.

    Ok, best to contact itunes then so they can look into it

  • Why does my mail send me copies of sent mail before I have finished typing

    Why does my mail send me copies of sent mail before I have finished typing

    Sounds like you must be using Lion!?

  • Multiple Recipients not Receiving Mail

    I have sent an email to multiple bcc'd recipients.  I have reduced the number of recipients to less than 100.  The message appears in my Sent mail folder, but is not received by any of the recipients, nor do I get any server messages indicating incorrect addresses or delivery issues.  OSX 10.9.5 on MacBook Air.  Mail 7.3.

    Spent an hour on Chat with Apple.  They claimed it was my ISP after checking everything they could think of.  I checked with my ISP.  They are not stopping my mail.  I resent the offending message from iCloud.  Same result.  Shows in Sent Mail, but neither I nor the bcc'd recipients got the message.  I am baffled!!

Maybe you are looking for

  • Color Laserjet CM2320nf MFP- Is this email legitimate or is it a scam?

    Just received this email yesterday and wanted to know if it is acutally legitimate or is it a phishing attempt to install malware on our printer? URGENT SUPPORT NOTIFICATION FROM HP - PLEASE READ HP LASERJET FIRMWARE UPDATE IS AVAILABLE Dear Valued H

  • Hooking my laptop up to my TV

    I have a Macbook Pro and I don't have a DVD player. I'm wondering if there is some product I can use to hook my computer up to my TV so I can watch movies! This may be a dumb question, but I'm pretty illiterate when it comes to techy stuff... Any hel

  • Exporting activity data as a PDF / sending as email from within package

    Hello, We are currently developing an E-learning package which involves the learners building up a check list on an "ipad" as they go through the course, which we would like them to then be able to save at the end of the course so they can review it

  • Http image in Web Dynpro

    Hi, I want to integrate an image in my WDA which would take its source from an external url path. For example, my image source would be [http://www.google.ca/intl/en_ca/images/logo.gif] . I cannot use directly the path as source, I receive the error:

  • ORA-01017: invalid username/password;  for  Oralce 12c OEM  installation

    Hi Experts, Following error Oralce 12c OEM installation ,i have no clue sys user passowrd is correct in response/new_install.rsp file [oracle@sdp12 OEM_Packages]$ ./runInstaller -silent -responseFile /oracle/oracle8/OEM_Packages/response/new_install.