Applescript: Sending a mail to more than one person

I have a script tp send a message that the server has started in the morning to people.
How can I get it to send it to more than one person?
I use
*set mailto_addr to [email protected]*
how do I ad people to it?
Thanks

I saw that but do not know how to incorporate it.
Either use a repeat loop:
  set recipient_list to {{name:"a", address:"[email protected]"}, {name:"b", address:"[email protected]"}, {name:"c", address:"[email protected]"}}
  set newMessage to (make new outgoing message with properties {subject:"The Subject", content:"your message here", visible:true})
  tell newMessage
    repeat with eachRecipient in recipient_list
      make new recipient at end of to recipients with properties {name:eachRecipient's name, address:eachRecipient's address}
    end repeat
  end tell
Or add them individually:
  set newMessage to (make new outgoing message with properties {subject:"The Subject", content:"your message here", visible:true})
  tell newMessage
    make new recipient at end of to recipients with properties {name:"a", address:"[email protected]"}
    make new recipient at end of to recipients with properties {name:"b", address:"[email protected]"}
    make new recipient at end of to recipients with properties {name:"c", address:"[email protected]"}
  end tell

Similar Messages

  • Outlook (ex Hotmail) on iPhone refuses to send e-mail to more than one person

    Hi,
    I have two questions today...
    When I try to send an e-mail to more than one person from my @outlook.com address on my iPhone it fails everytime and a message pops up that it could not connect to the server. Sending e-mails to one person at a time works perfectly. I think this is a Microsoft issue as I had to verify that I was "human" before I could send a test e-mail to more than one person while logged into the Outlook website on my PC. I never had problems like this on my old Gmail and Ymail accounts. Any ideas how to fix this?
    Alternatively, I can use my @icloud.com e-mail address, but this leads to my second question. Apple states that I cannot use my iCloud e-mail address as my Apple ID. I do however not want to keep two mailboxes. Can any e-mails Apple send me (eg. receipts for purchases, etc) be sent to my iCloud address? I'll can then just keep the other e-mail address just for the Apple ID but do not have to monitor it. It this can be done please advise where I can change this.
    Any advice will be greatly appreciated.

    Some style rules that Firefox handles well on the screen can cause this problem. Many email sites have a print button which simplifies the message format and removes navigation elements, etc., and Firefox generally handles print-formatted pages better. If your email site doesn't have print-formatted pages or those do not print, a "hack" is to select the text you want to print and then choose the Selection option in the print dialog.
    To hide email addresses from recipients, you need to place them in the BCC field. What do you put in the TO field in that case? You can use your own address.

  • Sending text msgs to more than one person

    OK, I realize I'm probably just a doofus who can't figure this out, but how do you send a text message to more than one person on the iphone? I swear I've looked everywhere. Help, please? Thanks!

    You will need to use the email feature of the iPhone to do this.
    To send Apple feedback: http://apple.com/feedback

  • How do I send, or bcc to more than one person at a time?

    I have used outlook express for years and grown very familiar with it. I switched to Thunderbird because of mail problems in WIN7. I have no problem receiving, or sending to one person. The email autofills the name of the first person, but when I try to type another name, the first is deleted. This is the same on TO: or BCC. Also, is there a way to avoid having to click on the field "show remote content" on every message.
    Thanks for any assistance.
    Norman

    I missed your 2nd question.
    This article explains how to always show remote content and the risks of doing so. You can make that call. Adding your trusted senders to your address book will allow content from them and is the recommended action.
    http://kb.mozillazine.org/Privacy_basics_(Thunderbird)

  • Why can I not send a text to more than one person at a time on my iphone 5

    I have an iphone 5 IOS 8.1.3, and I can only send text messages to one person at a time. I cannot send GROUP text messages. It will then tell me they are not delivered.  What is wrong? How can I correct it?

    Send a group message with your iPhone, iPad, or iPod touch - Apple Support
    Send messages with your iPhone, iPad, or iPod touch - Apple Support
    If you can't send or receive messages on your iPhone, iPad, or iPod touch - Apple Support

  • Sending e-mail to more than the person resp. when budget almost exceeded

    Hi,
    The configuration has been done for sending a warning e-mail to the person responsible using transaction (OPS6). However, the requirement is to send this e-mail to some other employees in addition to the person responsible. Could anyone explain to me how to implement such requirements, either at configuration level or using ABAP?
    Best regards,

    May be you can create an group e-mail ID (distribution list) and assign this to person responsible. This would send e-mail to all the people grouped in this mail ID.
    I never tried but seems plausible.
    Regards
    Sreenivas

  • Sending E-mail to more than one mailadress

    When sending purchase order on E-mail to vendor, SAP only take the E-mail adress defined as the main E-mail adress on vendor.
    What can be done to send the purchase order to all E-mail adresses defined for a vendor?
    br
    Terje

    Hi,
    SAP has a solution which allows you to maintain individual mail titles, mail texts or several e-mail addresses for a vendor.
    Please refer to OSS note 786847.
    Cheers !

  • Mail for more than one person

    can you set up 2 accounts for mail on the ipad. I would like one for myself and my wife.

    yooper,
    There is no limit as far as I know. The iPad manual says:
    "Set up an account on iPad:
    1 From the iPad Home screen, tap Settings.
    2 Tap “Mail, Contacts, Calendars,” then tap Add Account.
    3 Tap an account type:
    4 Enter your account information and tap Save.
    Your service provider or system administrator can provide the account settings you need."
    ;~)

  • I am unable to send emails to more than one person in the to: on my emails

    I seem to be unable to send an email to more than one person at a time.  can do on i pad and i phone but not on mac book pro. any advice? If I want to do two people i can do one in the to: and one in the copy:. 

    Ok, now, typically, it's mysteriously working. No idea if what I was doing caused it. Set up the account as a POP one using my work outgoing server instead of mail.me.com, discovered that the phone automatically removed all my outgoing mail servers, right after I'd activated them all, so went back and reactivated. Sent email successfully. Created another account as IMAP but everything else the same, and now it suddenly works.
    This has happened to me several times in the past.

  • When i try to send a message to more than 1 person it tries to go out and comes up in the blue box but is not delivered?

    When I try to send a message to more than one person it tries to go out and comes up in the blue box but is not delivered. I phone 4s?

    Hello blee136,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Best of luck,
    Mario

  • HT1277 I have OS X 10.9.2 and have downloaded maverick. If I am sending an email message to one person, options for addresses  from my address book show up. However if I want to send it to more than one person, the address options for the others do not sh

    I have OS X 10.9.2. and have downloaded Maverick. If I am sending an email message to one person, options for addresses from my Address Book appear. However if I want to send it to more than one person, the potential addresses for the other persons do not show. Can you please help?

    Install ClamXav and run a scan with that. It should pick up any trojans.   
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • TS2755 I have a new iPhone 5 from T-Mobile. I can send simple texts just fine. However, I have to turn off wi-if and enabler cellular to send texts to more than one person or to attach a picture. Is there a way around this?

    I have a new iPhone 5 from T-Mobile. I can send simple texts just fine. However, I have to turn off wi-if and enabler cellular to send texts to more than one person or to attach a picture. Is there a way around this?

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • HT3529 When I send a message to someone it shows a +1 on their end...what does that mean.  It looks as if it is being sent to more than one person.

    When I send a message to someone it shows a +1 on their end...what does this mean.  It looks like I have sent the message to more than one person.

    That's a country code. Are you sending it to someone outside of the US or who is using a foreign carrier? Their carrier is prefixing the phone number with the country code for your phone number.

  • Sending a Text Message to More Than One Person...

    How do i send a single text message to more than one person? Is that possible?

    Not possible at present. It's on the list of feature requests. We hope an update will add this feature in the near future.

  • Will not send text to more than one person

    All of a sudden my phone will not send text message if it is going to more than one person.  Plus it would not send a video that I received in a text message.  In the past I could send a text message to more than one person and could send videos.  Any ideas?

    Are you retaining copies of sent texts? My coworker had over 500 messages
    in a sent text folder.
    Geoff
    Private info removed as required by the Terms of Service.
    Message was edited by: Admin Moderator

Maybe you are looking for

  • I want to get NEW_PAGE  after 5th SY-TABIX in Smartform.

    Hi Experts,                 I've created Two Tables into a Folder in Single Main Window but I when execute smartform i'm getting Second Table after Finishing First Table..but i want to Get Second Table after end of 5th SY-TABIX  of First Table. and N

  • Photostream does not sync all photos to iPhone and iPad

    I have deleted some photos from the Phototream on my iMac leaving only photos taken with my iPhone from May this year. The Photostream on bpth phone and ipad only displays about 50% of these. How do I get them all to sync?

  • Explanations on Sales Documents

    Can anybody send explanations about sales documents that I have mentioned below? Inquiry     IN Quotation     QT Free-of-charge delivery     FD Standard sales order     OR Cash sale     BV Rush order     SO Quantity contract     CQ Maintenance contra

  • Serializing an objet on Windows and deserializing it on Mac...

    Hi, I would like to deserialize on a Mac OS X platform objects that were serialized (same class) on Windows, but it doesn't seem to work. I suspect this to come because from what I heard Mac has a different interpretation of binary files than Windows

  • My Payment method is being denied

    My payment method won't change to none