Answers.Body: <p>Out of the box, Craft doesn't support sending with multiple email addresses unless you change the email settings each time you need to send from the respective email address.</p>
  
  <p>Craft does allow plugins to do this though. I know of two to consider, and present them in alphabetical order:</p>
  
  <ul>
  <li><a href="https://github.com/objectivehtml/Postmaster-for-Craft-CMS" rel="nofollow">Postmaster</a> - Objective HTML</li>
  <li><a href="http://sprout.barrelstrengthdesign.com/craft-plugins/email" rel="nofollow">Sprout Email</a> - Barrel Strength Design</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-10T16:37:30.933Z
Answers.LastActivityDate: 2015-02-10T16:37:30.933Z
Answers.UserDisplayName: Ben Parizek
Answers.Body: <p><a href="https://github.com/objectivehtml/Postmaster-for-Craft-CMS" rel="nofollow">Postmaster for Craft</a> by ObjectiveHTML is a powerful notification plugin that can send emails based on a number of different criteria and triggers. It also has it's own API that you can access in your own plugins.</p>
  
  <p>I'd start with Postmaster and see if can do what you want out of the box, then look at possibly exploiting the API if you need a more custom solution.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-10T10:47:12.470Z
Answers.LastActivityDate: 2015-02-10T10:47:12.470Z
Answers.UserDisplayName: Steve Rowling
Body: <p>Hey I have a problem that i need to fix for a client. I have to send emails from different email addresses in different circumstances. Is it possible that I can setup multiple system email addresses and use one of them in my different plugins?</p>
  
  <p>I tried to change the fromEmail attribute as well as the sender attribute on the email model but it still sends from the same email (which I thought would be the case ).</p>
  
  <p>Anyway please let me know if there is any plugin out there that can do that.</p>
  
  <p>Thanks in advance!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-10T16:41:07.220Z
Comments.Text: What do you mean by "and use one of them in my different plugins"?
Comments.UserDisplayName: Ben Parizek
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-12T02:49:52.420Z
Comments.Text: I just meant that in general right now I am sending emails as craft()->email->sendEmail($email); and I would like to specify the sender email when I do that.
Comments.UserDisplayName: Moin Qidwai
Tags: <plugins><emails>
Title: Setup Multiple System Email Addresses
ThreadText: # Setup Multiple System Email Addresses
  
  (Asked by: username_0 on 2015-02-10)
  
  Hey I have a problem that i need to fix for a client. I have to send emails from different email addresses in different circumstances. Is it possible that I can setup multiple system email addresses and use one of them in my different plugins?
  
  I tried to change the fromEmail attribute as well as the sender attribute on the email model but it still sends from the same email (which I thought would be the case ).
  
  Anyway please let me know if there is any plugin out there that can do that.
  
  Thanks in advance!
  
  **Tags:** plugins, emails
  
  > **Comments:**
  > **username_1**: What do you mean by "and use one of them in my different plugins"?  
  > **username_0**: I just meant that in general right now I am sending emails as craft()->email->sendEmail($email); and I would like to specify the sender email when I do that.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-02-10. Score: 3 | Accepted answer
  
  Out of the box, Craft doesn't support sending with multiple email addresses unless you change the email settings each time you need to send from the respective email address.
  
  Craft does allow plugins to do this though. I know of two to consider, and present them in alphabetical order:
  
  * [Postmaster](https://github.com/objectivehtml/Postmaster-for-Craft-CMS) - Objective HTML
  * [Sprout Email](http://sprout.barrelstrengthdesign.com/craft-plugins/email) - Barrel Strength Design
  
  
  ---
  
  ### Answer by username_2 on 2015-02-10. Score: 2
  
  [Postmaster for Craft](https://github.com/objectivehtml/Postmaster-for-Craft-CMS) by ObjectiveHTML is a powerful notification plugin that can send emails based on a number of different criteria and triggers. It also has it's own API that you can access in your own plugins.
  
  I'd start with Postmaster and see if can do what you want out of the box, then look at possibly exploiting the API if you need a more custom solution.
  
  
  ---
  
  