Script to choose which account mail is to be sent from in Mail?

Does anyone have an AppleScript which will automatically set the default Mail account to an account chosen in script?
I use FileMaker to send mail automatically, but have to use Eudora because it makes it easy to auto reset the default account from which the mail to be sent before FileMaker actually sends the mail.
Mail always uses either the first account in list of accounts (if none chosen) or the chosen account if one is chosen. What I need is a script that "chooses the account" before I have FileMaker send mail.

Hello, I have a similar problem. When Thunderbird is set as the Default Email program in the Preferences (instead of Apple Mail) and when I click "send email" in Filemaker Tasks or Meetings, nothing happens. No email windows. No email programs started. Zippo. However, when Apple Mail is set as the default email program, then it works fine (aside from the fact that I lose all formatting from my message that exists in Filemaker). I find this annoying. Any ideas?
Thanks, Jeff

Similar Messages

  • Mail can not be sent from pop account

    The mail can not be sent from my mail configured on my iMac.  Please help.

    While in mail, if you click Window then Connection Doctor, do any of the connections have a red dot next to them? The message should tell you what's wrong and if you click on it, it should take you to where you can fix it.

  • I have 4 email accounts in apple Mail.  My mail is sending from the wrong account.  even on "reply" it sends from a different account.  I have 3 gmail accounts and one exchange server account. I choose which account to send from and it still sends from a

    I have 4 email accounts in apple Mail.  My mail is sending from the wrong account.  even on "reply" it sends from a different account.  I have 3 gmail accounts and one exchange server account. I choose which account to send from and it still sends from the same gmail account.  Help.

    I HAD two accounts because of this problem.  I completely removed the problem account from the Apple Mail client.  Guess what is happening??  That's right - Mail is still sending from the other account that no longer exists on my computer, and I have absolutely no idea how this is happening.  This is incredibly frustrating.  When a recipient chooses to reply to my message, quite often I won't get it now because it is going to the other account that has now been deleted from my system.  COME ON APPLE!!! WHAT'S THE DEAL WITH THIS???

  • Several contacts have the same email address. How can I choose which contact name appears on the address line in Mail?

    Several contacts have the same email address. How can I choose which contact name appears on the address line in Mail?

    you can't really, but you might be able to filter them by message content into folders for each, or color them with tags

  • I have 3 email accounts in Mail on Macbook Pro.  Mail is only being sent from 1 account.

    I have 3 email accounts in Mail.  Mail is only being sent from 1 account, even though I select one of the other accounts in the "from" field.  In my sent box, the "From" field says the accout I selected, but all recipients say they receive it from a different account.  I set my composing preferences "send new messages from" to the main account, but all my mail is still being sent from a different account.  I cannot see that this is happening, only people receiving it can.  I noticed it because when they reply, it goes to a different account than what I sent to them.  Any suggestions with what I should do?

    Thank you!  Funny.  I had just found that answer eleswhere:  http://simonwheatley.co.uk/2013/02/apple-mail-sending-email-from-the-wrong-accou nt/

  • One Yahoo! mail account does not receive email sent from .mac

    OK, this is an odd problem, and any help would be appreciated.
    My girlfriend's Yahoo! mail account does not receive email sent from my .mac address. If I send email from my Gmail or Yahoo! accounts she receives the message. No one else has informed me that they haven't received email from the .mac address. Additionally, the .mac account is in her address book.
    Anyway, has anyone seen a similar pattern with Yahoo! or any other email provider?
    Thanks.
    - Jennings

    Thanks for the reply . . . and yes, the recipient's email provider likely holds the answer.
    However, I was hoping someone here might have had a similar experience and could answer as the email provider is Yahoo, and they are slow in responding to help requests . . . for a period I hosted a personal, paid website through Yahoo Domains and help tickets lingered for several days on multiple occasions (this being the reason the site is no longer hosted by Yahoo). I also doubt Yahoo will expend too much energy resolving a problem for a free email account.
    Anyway, I posted in the Yahoo mail forums, and hopefully something will come-up . . . .

  • TS3276 when I send an email from one account, it shows up as sent from another gmail account. Anybody ever run into this

    When I send an email from one of my accounts, it shows up as sent from another account. Does anyone know how to correct this?

    As Ernie said, you need to create an SMTP server for each gmail account with the correct username and password. Be sure the correct server for each account is listed in the SMTP box and check the box to use only that server for that account.
    Gmail's default behavior when sending from one account through another account's outgoing server is to change the address to the server which is used. Same goes if I send a message from my ATT/Yahoo account and use gmail's server to send through. It will change the ATT address to the gmail address.
    There is an option in gmail's settings under the Account's tab under Send Mail As. You can add different gmail or other accounts such as Yahoo to this and choose how the gmail server handles it. You can set it to send as the sending account and not change the address. I've used this many times for my ATT account for sending through gmail when ATT accounts were having problems.
    You can add the different accounts to each gmail account you have.

  • How can I transfer the e-mails that I have sent from my OUTBOX in a webserver to Thunderbird?

    I have an e-mail account in a webserver (STRATO Communicator), and I want to transfer all my e-mails to Thunderbird.
    I have installed Thunderbird, and I have managed to transfer all the e-mails from my INBOX from the webserver to Thunderbird.
    However, I do not know how I can also transfer all the e-mails that I have sent from my OUTBOX in the webserver (STRATO Communicator) to Thunderbird as well.
    Can anyone help me? Thank you very much in advance!

    Pop mail accounts can only access the Inbox on the server.
    So if you are using a Pop mail account then there is a workaround.
    In Thunderbird
    Move all emails out of Inbox into other suitable folders for organising.
    This makes it easy to detect the 'outbox' emails.
    Logon to webmail account and move all emails from Outbox to Inbox
    then in Thunderbird use Get Messages to download those emails.
    You can then move those emails into a suitable folder like 'Sent'.
    Please note than in Thunderbird, the account Sent folder keeps a record of what was sent by you.
    The 'Outbox' located in Local Folders, is the Outbox for all mail accounts in Thunderbird. It is not a place to store emails.
    In Thunderbird, when you select 'Send', it sends email immediately and puts copy in 'Sent' folder. However, if you use 'Send Later', it puts email in 'Outbox' ready to go when you select 'Send unsent messages', at which point copies are stored in 'Sent' folder and removed from 'Outbox'.

  • HT203524 I just received a suspicious email requesting information about my checking account. The email was sent from my mac email account. Was my email hacked and how do I fix it?

    just received a suspicious email requesting information about my checking account. The email was sent from my mac email account. Was my email hacked and how do I fix it?

    Sound like a pfishing email rather than your account being hacked.  See http://support.apple.com/kb/HT4933.

  • TS3276 Someone who receives my mail sent from Apple Mail cannot receive attachments or read my email even though they are on a Mac using Safari.  How could they be using Safari to receive or read my mail?

    Someone who receives my mail sent from Apple Mail cannot receive attachments or read my email even though they are on a Mac using Safari.  How could they be using Safari to receive or read my mail? 

    You can lead a horse to water, but you cannot make it drink.  This person receiving my email,  while on a Mac with Safari is reading their mail through Safari using Horde--our recent discovery.  Why they chose to do that in unclear. The last email we sent, however, was miraculously read and received and  the attachment was viewed with no problem after we told them our mail was coming from a Mac thriugh Apple Mail.  It seems that telling them that our emails were coming from a Mac and using Apple Mail was enough to make them think that perhaps THEY were doing something not quite right. Thank you both, Level 7 and Level 5. 
    But thank you especially for the meteorologists in the UK for putting forth the correct routes for Sandy these last days, you probably saved a lot of lives.

  • Spam being sent from my Mail account...

    I am receiving e-mails in my Mail account saying that certain messages can not be sent and the message gives the reason but they are being sent by other names, not my own, using my e-mail address. I went and changed my password in icloud.com but the very next day, the same thing happened. How can I get this to stop. Messages being sent from my e-mail account by others that are not me?

    Yes, I read in another post that if it was actually sent from my account, I would see the e-mails in my Sent folder which I do not and that someone just forged where the e-mails were sent from and there is nothing that can be done about that except to bacically ignore them. There are not too many of them anyways.
    Thank you for your answer.

  • When i mail icon my phone displays a message '' account restriction - this phone is restricted from creating mail account'' this is after i deleted  the mail account that was there. please help

    When I press the mail icon a message '' account restriction- this iphone is restricted from creating accounts. What could be the problem?

    Settings>General>Restrictions.

  • ICloud emails sent from apple mail or iPhone 3gs never arrives, works fine when sent from iCloud website

    The ony place I have been able to send and receive email since the launch of iCloud has been the icloud website. I wasn't able to send email from my iphone 3gs or apple mail at all until today, now it finally appears to let me send email but it never arrives to its destination.
    I can send an email from the icloud website without issue, and email sent from my icloud account using my iphone 3gs and apple mail seems to send fine and without error but who knows where it goes.
    Has anyone else experienced this issue?
    Thanks!
    Charles

    I figured out how to fix it... if anyone else has this problem, go to Outlook > Preferences > Accounts > select the IMAP account > Advanced > Folders and for "Store Sent Messages in this Folder:" select "Sent Messages (Server)."

  • Email sent from Apple Mail to Outlook, recipient gets 2 versions

    When I send an email from Apple Mail to my Outlook Express and open it in Outlook it shows two versions of the email. First is formatted the way I sent it (Rich Text) and then below that is the same message in Plain Text with an line (HR) between them.
    I don't see any settings in either Mail or Outlook to change this. Only time it doesn't happen is if I send it as Plain Text to begin with.
    (ps. read as Plain Text is not selected in Outlook)

    You are typically "the man" on such issues, but I believe Apple has said some place that their RTF is only a subset of HTML? I know it gets converted to HTML like encoding, but did not think it is full HTML?
    It's true that when composing in Mail you only have access to those parts of html that Apple has provided an interface for, so there are various html things you cannot do. But those things you can do, like choose the font, font size, font color, etc. are done with standard html codes, the Content-Type header of a "rich text" message says "text/html", and the message source starts out with the codes < html > < head > < body > like any other html message would.

  • For the past day or 2 mail sent from .Mac Mail is not being delivered.

    I have been using .Mac Mail and Apple Mail application on my computer for about 10 months. The past 2 days when I go to .Mac Mail online, compose an e-mail, click on send, get the message that says, "Your message has been sent." The e-mail is also in my Sent folder but the e-mail message is not delivered. I sent an e-mail this way to my Hotmail account, my Yahoo account and even to myself at my .Mac Mail account and none of them were delivered. I tried several times at different times and I just tried again now. Still no good. They never went to any of the inboxes even hours later. Is there something wrong with the outgoing .Mac Mail sever? Or what else can it be?
    20" iMac G5 with built in iSight   Mac OS X (10.4.7)   1.5 GB of memory
    20" iMac G5 with built in iSight   Mac OS X (10.4.4)   1.5 GB of memory

    You didn't say what troubleshooting you did after the firmware update and problem...
    To get started...
    Verify your drive with Disk Utility.
    Repair permissions with Disk Utility (probably not the issue, but won't hurt)
    Try:
    mailbfr -o
    mailbfr -f
    If you are still stuck, you'll need to post more detail about your configuration, hopefully more log detail and the contents of imapd.conf and the output of postconf -n
    Jeff
    Message was edited by: UptimeJeff
    Message was edited by: UptimeJeff

Maybe you are looking for

  • How to send Discoverer worksheets in an email

    Hi All, I am interested in setting up my discoverer with email sending capabilities. I have searched the net briefly and came over this link: http://download.oracle.com/docs/cd/B14099_19/bi.1012/b13987/getting_started.htm#CIHGGDHJ This link says some

  • Check iPad version and release date

    Hello All I would be grateful to have your thoughts and views on this. I am currently intending to buy an iPad from one of my acquaintances as he is upgrading to a later version of iPad. However, when I get the device, is there any way I could possib

  • What is the latest version of iTunes that works for 1st Generation iPod?

    I just purchased a First Generation (click wheel) iPod (released in 2001). Does anyone know what the latest version of itunes that works with this ipod is?

  • My Account issues...

    When I try to login to my account it comes up to an blank page.  This also happens with I click on my Credit Cards under my Profile.   I have to click Order Status to get into my account and see things.    Ordering items I have to logout and then sta

  • Content in Message Monitoring

    Hi, Can anybody help me to know the exact message(message content) in Message monitoring.. Thanks in Advance.