humanmade / aws-ses-wp-mail

An AWS SES wp_mail() drop-in
186 stars 51 forks source link

SMTP_FROM and SMTP_NAME #53

Open techypaul opened 1 year ago

techypaul commented 1 year ago

Hello,

Are there any plans to default to the SMTP_FROM and SMTP_NAME if those standard WP environment variables are set?

If not, would you accept a PR?

Thanks, Paul.

mikelittle commented 1 year ago

Hi Paul, there are no standard WP environment variables (or PHP defines) with those names. However, you can filter those two values using wp_mail_from and wp_mail_from_name.