Title: Set &#8216;from&#8217; dynamically
Last modified: July 29, 2019

---

# Set ‘from’ dynamically

 *  Resolved [doublefinned](https://wordpress.org/support/users/doublefinned/)
 * (@doublefinned)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/set-from-dynamically/)
 * Is there a way to send mail through php by specifying ‘from’ (and any necessary
   authentication values) in my code before I send the mail using your plugin. My
   use case is that I have multiple accounts on my organisation that I send mail
   from depending on the situation, setting one email account in the options isn’t
   viable.
    -  This topic was modified 6 years, 10 months ago by [doublefinned](https://wordpress.org/support/users/doublefinned/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Varun Sharma](https://wordpress.org/support/users/contact-banker/)
 * (@contact-banker)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/set-from-dynamically/#post-11935356)
 * Hi,
 * Unfortunately, there is no such option at the moment.
 * If you choose Don’t Override for From Email Address in the Setup Wizard menu 
   then it will use the Admin Email as From Email.
 * Thanks & Regards.

Viewing 1 replies (of 1 total)

The topic ‘Set ‘from’ dynamically’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-mail-bank_724f4f.svg)
 * [Mail Bank - #1 Mail SMTP Plugin for WordPress](https://wordpress.org/plugins/wp-mail-bank/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-bank/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-bank/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-bank/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-bank/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-bank/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Varun Sharma](https://wordpress.org/support/users/contact-banker/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/set-from-dynamically/#post-11935356)
 * Status: resolved