remove need for MAIL_KEY with pure smtp setup #7

Open
opened 2026-06-01 12:18:32 +00:00 by stevensting · 4 comments
Owner
No description provided.
Owner
MAIL_KEY is not needed when using smtp, see https://docs.bonfirenetworks.org/Bonfire.Mailer.html#3-direct-email-sending-methods
Author
Owner

MAIL_KEY is not needed when using smtp, see https://docs.bonfirenetworks.org/Bonfire.Mailer.html#3-direct-email-sending-methods

yes, that is the problem. I need to add compose.mail.yml to be able to use mail_password but this forces me to also definde mail_key. Probably there need to be two seperate yml files, one for pure smtp and one for mail relay providers which need mail_key.

> MAIL_KEY is not needed when using smtp, see https://docs.bonfirenetworks.org/Bonfire.Mailer.html#3-direct-email-sending-methods yes, that is the problem. I need to add compose.mail.yml to be able to use mail_password but this forces me to also definde mail_key. Probably there need to be two seperate yml files, one for pure smtp and one for mail relay providers which need mail_key.
Owner

ah I see yeah I think @kawaiipunk suggested that solution

ah I see yeah I think @kawaiipunk suggested that solution
Owner

or we could change the bonfire config code to consolidate on just one of those? eg. using MAIL_KEY for the password too, but still checking MAIL_PASSWORD as fallback for existing deploys

or we could change the bonfire config code to consolidate on just one of those? eg. using MAIL_KEY for the password too, but still checking MAIL_PASSWORD as fallback for existing deploys
Sign in to join this conversation.
No description provided.