Group Mailer ~ There is no outgoing Mail message. (-2700)

Hi
I am attempting to use the group mailer function in automator.
I have tried a variety of different work arounds with the same effect.
The process I have created has four stages:
1) Get Specified Address Book Items
2) Group Mailer
3) Get Specified Mail Items
4) Send Outgoing Messages
I have tinkered with the order of stages and with the 'ignore previous results' as suggested on other forums - all to no avail.
The Action reaches Stage 2 (Group Mailer) and then stops with the error message There is no Outgoing Mail Message (-2700).
Can anyone shed any light on this?
Thank you, in advance
Adam

Sorry about that. The one I sent was not the latest version. This one addresses the repeated asking for file attachments and the automatic message sending issues.
Here is the latest version:
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">property GreetingWanted : ""
property theGreeting : ""
property GreetingNameOrder : {"First and Last Name", "First Name Only", "Last and First Name", "Last Name Only"}
property theCompleteGreeting : ""
property theSubject : ""
property theContent : ""
property FileAttached : ""
property theAttachment : ""
on run {input, parameters}
set theNumberOfInputItems to count of items in input
set CountOfAttachments to (count of items in input) - 2
-- Gather Contact Info
tell application "Address Book"
set theEmailGroup to last item of input
set FirstNames to first name of people of theEmailGroup
set LastNames to last name of people of theEmailGroup
set EmailAddresses to value of email 1 of people of theEmailGroup
end tell
-- Generate emails
tell application "Mail"
-- Email info
set theSubject to subject of first item of input
set theMessage to content of first item of input
set theAttachments to items 2 thru (CountOfAttachments + 1) of input
-- Greeting info
display dialog "Would you like to add a greeting?" buttons {"Yes", "No"} default button 1
if button returned of the result is equal to "Yes" then
set GreetingWanted to true
display dialog "Please enter the opening for the greeting." default answer "Dear "
set theGreeting to text returned of the result
set GreetingName to (choose from list GreetingNameOrder with prompt "Please select the choice of name for the greeting" default items item 1 of GreetingNameOrder) as text
else
set GreetingWanted to false
end if
-- File Attachment info
display dialog "Would you like to add a file attachment(s)?" buttons {"Yes", "No"} default button 1
if button returned of the result is "Yes" then
set FileAttached to true
else
set FileAttached to false
end if
repeat with i from 1 to count of EmailAddresses
if GreetingWanted then
if (GreetingName = item 1 of GreetingNameOrder) then set theCompleteGreeting to theGreeting & item i of FirstNames & space & item i of LastNames
if (GreetingName = item 2 of GreetingNameOrder) then set theCompleteGreeting to theGreeting & item i of FirstNames
if (GreetingName = item 3 of GreetingNameOrder) then set theCompleteGreeting to theGreeting & item i of LastNames & space & item i of FirstNames
if (GreetingName = item 4 of GreetingNameOrder) then set theCompleteGreeting to theGreeting & item i of LastNames
if GreetingName = false then set theCompleteGreeting to theGreeting
set theCompleteContent to theCompleteGreeting & "," & return & return & theMessage & return
end if
-- Generate email
set email to make new outgoing message with properties {subject:theSubject, content:theCompleteContent, visible:true}
tell email to make new to recipient with properties {address:item i of EmailAddresses}
-- Add attachments
if FileAttached then
my MoveToEndOfContent()
repeat with i from 1 to CountOfAttachments
tell email to make new attachment with properties {file name:item i of theAttachments}
end repeat
end if
send email
end repeat
end tell
return input
end run
on MoveToEndOfContent()
tell application "System Events"
tell process "Mail"
keystroke "a" using command down
key code 124 -- right arrow
keystroke return
keystroke return
end tell
end tell
end MoveToEndOfContent
</pre>
There are a few other refinements that could be added:
1) Avoiding the asking if attachments want to be added by checking whether there were any assigned in the Automator "Get Specified Finder Items" dialog;
2) There is a rather annoying bounce/notification by Automator after the initial "New Mail Message" action. Gathering all the information first and then creating a template with the "New Mail Message" action would avoid this annoyance. Unfortunately, as you know, I am using that action as a quick way to gather the subject, message, and account information.
3) Rename the actions by using a Ctrl click on the action title bar to more clearly indicate what information is being requested in the dialogs.
PowerBook 12"   Mac OS X (10.4.8)  

Similar Messages

  • I created a Group and put in all names and email addresses but cannot get the group to appear in an outgoing email message.  What am I doing wrong?

    I created a Group and put in all names and email addresses but cannot get the group to appear in an outgoing email message.  What am I doing wrong?

    This may help.
    Can't connect to the iTunes Store
    What happens whenyou try to connect? Error messages?

  • HT201320 What am i supposed to put as the incoming mail server and the outgoing mail server when setting up my email?

    I'm tryingt to set up my email through my school account and i'm not sure what it means when i'm asked to enter a incoming mail server and an outgoing mail server. Help would be appreciated thanks

    Since no one here has any idea about what type of mail your school offers...you don't mention what school...your question, as asked, can't be answered. What don't you contact your school's IT dept., or look online. Most schools have instructions on how to do so online.

  • Mail says that there is no outgoing mail server

    Even though Mail preferences shows that the iCloud outgoing mail server is selected and the use only this server is selected below it, when I try to send a message, Mail says that no outgoing server is selected.

    Hey jwposey!
    Here is an article for you that will help you troubleshoot this issue with your iCloud account:
    iCloud: Troubleshooting iCloud Mail
    http://support.apple.com/kb/ts4002
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • Mail 2.1.3 outgoing mail server not recognized

    I am running Mail 2.1.3 (OS 10.4.11) on an old power book. I use the outgoing mail server "smtp.me.com:name" . Each time Mail is restarted, sending an email results in the error message "Cannot verify SSL server...". Hitting Continue  lets the message be sent. Using the prescribed solution: ((1) show certificate (2) move certificate to desk top (3) double click and choose X509anchor) has no effect.  Changing the Port number e.g. from 25 to 587, also has no effect. Is there a solution to this problem, or is there something wrong with "smtp.me.com"?

    I did the suggested set-up, but no joy. The result was as before:
    There is no option "SMTP Authentification required" What I see is
    Hitting Continue still works, but clearly there is still something wrong. Do you have any other suggestions?

  • Setting up yahoo mail server as the outgoing mail server

    pls how do i set up the yahoo mail server as the outgoing(smtp) mail server for in the enterprise manager for email notfications?
    i entered the following values
    Outgoing(SMTP)mail server : smtp.mail.yahoo.com
    Identify Sender as: Sysman
    Sender's email address: [email protected]
    After clicking the Test mailserver button, the test failed.
    i got the following error message below
    smtp.mail.yahoo.com: Test failed with message: "Sending failed; nested exception is: javax.mail.MessagingException: 530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html
    i have visited the link but i dont seem to get any meaningful help.
    pls can anyone help me?

    user536860 wrote:
    it should works, if you use the following parameters:
    Smtp server:  smtp.mail.yahoo.com:465
    User Secure connection: SSL
    I'll bet you it will NOT work & even give you 10 to 1 odds that it will fail.
    Yahoo won't relay your spam; which is why your messages will be rejected.
    What is the difference between your message & a message from a spammer?

  • OS X Mavericks Mail losing contact with outgoing mail server after waking from sleep.

    I upgraded my MAcBook Air to OS X Mavericks two days ago. Since then I have had intermittent problems connecting to my outgoing mail server. I get the "Unable to Receive Mail" error message. When I click "Take All Accounts Online," I get an additonal error message stating that connection to the host on the specifided port failed. I am using a different outgoing server for mail and I can continue to send emails.
    Putting the computer to sleep seems to trigger the problem. Sometimes restaring the computer resloves the problem, sometimes it does not. Any help would be greatly appriciated as this problems his disrupted my workflow significantly.

    Fixed. In case anyone has the same issue, I went to Internet Accounts, unclicked mail, and then re-clicked it. It worked. Disabling it in the mail configuration did not work, but it did in Internet Accounts.

  • Mac Mail  . . . Outgoing Mail Server shows all as (Offline)

    Frustrating problem: I had to reconfigure Mail because it wasn't working.
    My incoming works fine, but the outgoing doesn't. It shows any server as (Offline). Under 'Mail" on the menu bar 'Take All Accounts Online' is selected and dimmed.
    ISP is ATT Yahoo, and both incoming and outgoing mail works fine when accessing email through my browser (Safari).
    Any ideas on what to do?
    Many thanks,
    Ed in Dallas

    Hey Ed,
    First thing is to check what the Connection Doctor is saying under the Window menu.
    It'll take a few seconds but it should give you a good idea of the problem.
    If you are selectiing using SSL, check if the provider offers this service.
    If you don't know or can't find it use Applications->Utilities->Network Utility.
    Then select Port Scan and enter the smtp.address.com of the service.
    This will tell you for definite if the SSL service is offered.
    I usually find that you get the Offline message if your service provider doesn't
    offer the SSL service. Keep the setup simple and if it works then make it more
    complicated.
    A.

  • Mail can't change outgoing mail server

    Trying to change the outgoing mail server for email accounts (POP and IMAP) - the field in the Preferences -> Accounts panel is disabled. Disabled. Why? My ISP moved to new servers and I can't access email until I update the account preferences. What the ????

    Hello Andrew Macrae,
    Thanks for using Apple Support Communities.
    From your post I understand that you are trying to change your Mail account's outgoing mail server.  To do this, please follow the steps below where you are able to edit your outgoing server information.
    Choose Mail > Preferences, then click Accounts.
    Select an account.
    Click Account Information, then review the server being used for outgoing messages.
    If None is selected, click the Outgoing Mail Server pop-up menu, then choose a different server.
    Make sure the selected server is one specified by your account provider and that the server name is spelled correctly. Click the Outgoing Mail Server pop-up menu, choose Edit SMTP Server List, then review or enter information as directed by your provider.
    If you contact your provider about the server, use the form in this Apple Support article to record Mail settings you might need for configuring the server.
    Apple Support article: Mail settings you might need from your emal provider
    If the server is obsolete, click the Outgoing Mail Server pop-up menu, choose Edit SMTP Server List, select the server, then click Remove . Don’t remove a server that’s in use by an account unless you’re ready to add a different server for the account.
    Test your changes by sending yourself a message.
    Verify an account’s outgoing mail server - Mail Help
    Take care,
    Alex H.

  • Ungraded to IOS 8.2 and mail settings changed and outgoing mail will not work. Setting seem to me correct.

    IOS 8.2 did something to my Gmail settings for my outgoing mail. Check the setting and they seem to be correct. Anyone know what else the download may have affected in Gmail or email setting in general? Iphone 6 Plus

    Hello gfdunn,
    I'm sorry to hear you are having issues with your iPhone after the recent iOS 8.2 update. If you are having issues sending mail from your Gmail account in Mail, you may find the information and troubleshooting steps outlined in the following articles helpful:
    Gmail account cannot get or send email in iOS - Apple Support
    Get help with Mail on iPhone, iPad, and iPod touch - Apple Support
    Sincerely,
    - Brenden

  • Why is mail erasing or resetting outgoing mail servers?

    Yesterday morning, Mail had reset itself to have no outgoing mail servers. I manually reentered the outgoing mail server info, and Mail functioned properly until this morning. Today, Mail had reset the outgoin mail server onmy several email accounts to None--but it didn't "erase" the proper email servers' info.  I've now manually changed the outgoing mail server for each of my email accounts, and Mail is functioning properly.  I'd like to understand what's happenin and how to prevent the nuissance int he future.  Thanks in advance for your help.

    Hi Bill, I take it the Mac loses that info when logged out or restarted?
    It sounds like your Main pref file is corrupted...
    /Users/YourUserName/Library/Preferences/com.apple.mail.plist
    Trouble is it holds almost everything, not sure if you'd like to quit Mail trash that file & setup Mail all over again, or if it'd be better to try trashing it once Mail is up & running & have it attempt to rebuild that file from what is in memory.
    Do you have any backups of that file?

  • Mail app not seeing outgoing mail server : it's there in the account info!?

    I just set up 2 new accounts in mail all setting are ok and email is being received OK by both accounts.
    Accounts are named John@blah and enquiries@same blah
    But one of them (john) is not sending and I'm getting this:
    [IMG]http://i13.tinypic.com/2z6fmvm.png[/IMG]
    Where I'm told to choose a different outgoignmail server. Problem is that in accounts setting the server is named correctly but this drop doen panel doesn't give me the option to use it.
    I need some help please

    I know that's what you'd think but it is not the case as it's already there, look:
    [img]http://xs414.xs.to/xs414/07165/Picture.png.xs.jpg[/img]
    Could it be the server port. the 2 accounts that send ok use 25 and the one that isn't working, ie the one where I am unable to select the correctct outgoing server uses port 587.
    I have no idea if this would effect mailapps ability to read what is in mail>preference>accounts I can't see how that would be a problem
      Mac OS X (10.4.9)   iMac C2D 20" 2.16 2GB RAM & PB 1.5GHz 1GB RAM
      Mac OS X (10.4.9)   iMac C2D 20" 2.16 2GB RAM & PB 1.5GHz 1GB RAM

  • Mail shows incoming and outgoing mail that does not match inbox

    I get a lot of activity show in mail activity that does not appear in my inbox.  The most recent was 9 outgoing messages when I sent one email and then right after 71 incoming mail messages and none show up in my inbox.  Sometimes I receive a mail and it does not go into my inbox but I get it on my iphone.  I've set it up correctly, I can send and receive some emails but the consistenc

    Consistency is not there.  I check my junk folder as well and the messages do not go there.  I used to have a couple of macs on my network with the same email address, but I've since removed those accounts off the other computers.  It is setup as IMAP account as well.

  • Outgoing mail is sent repeatedly, outgoing mail is sent repeatedly

    I have tried to send a mail via my account with German t-online-Mail, size abt. 5 MB, this mail is sent repaetedly and not saved in the file sent. My iMac keeps sending this mail as it seems for ever. Can someone help me?
    Juergen Jessel
    [email protected]

    Hello, many providers won't allow that big of an eMail attachment.
    Open Mail's Window>Activity, stop it there then edit the email or delete it.

  • Mail 2.1.3 Outgoing Mail Server suddenly stop working

    Recently I had some problems every time I send an email, but I would restart Mail and the emails on the outbox folder would send after a few seconds. Now is not sending at all. "Can not send massage using the server smtpout...." This server is the same and has not been change so I don't understand why is not working. Please help!!!

    Both my husband and I are having the same problem, and it's not just the account situation. I am having a ton of difficulty sending. I keep hitting the "Try with selected server" until it sends. And in actuality EVERYTHING is slower and ponderous on the whole machine. Typing is bad. Internet seems slower. Honestly, I'm upset about it. I still have a few months of Apple Care and will call tomorrow, but I think Apple wants me to get rid of my laptop for the latest model. Anyway, two questions: 1. Is there anything else I can do to fix this mail problem? 2. What do you think: Do I need to buy a new machine? Or is everything crashing? Oh drat. I hate this.

Maybe you are looking for

  • XSLT - if condition

    hi i wanted to check a value with condition. something like this <xsl:variable name="rootname" select="name()"> i wanted to check whether the $rootname= SportsData. how will i express this condition in a conditional statement rgds

  • ME21N CREATE A PO BY COPY

    Dear Experts, We have updated all our suppliers with new term of payment CP71. Now when our user create a PO in ME21N by copying a previous PO they get CP01 (old term of payment) copied in the PO header. This is source of error. Is there any possibil

  • APEX difference between 4.0 and 4.2

    My application just got updated from APEX 4.0 to 4.2. One difference I see is that on a particular page some of the text boxes are defined under a "Stop and Start Grid Layout" item (previously "Stop and Start HTML Layout Table"). These text boxes had

  • Problems with new Sports Tracker 3.50

    Hi, i have tried the Brandnew SportsTracker 3.50. It's a verfy nice App, but i have  some problems: Upload:  After upload to service there are lost some data: - no Energie Data (kCal) -no SpeedMax / Speedmin / Lowestpoit/ Highest Point /  Data -Media

  • BIB-9509 and ORA-00600, ORA-06512

    ============================================================================ Queries on the following measures or dimensions failed (S=Schema, C=Cube, M=Measure, D=Dimension) "Cantitate vanduta" measure query with S=ANA, C=CUB1, M=CANT_VANDUTA "AGENT