It seems that we can only accept emails in the set target email. How can we send emails?
Cloudflare only supports email forwarding. If you need to send emails, you need a proper email provider.
Assuming you’re using Cloudflare routing to a personal Gmail, you can send via Gmail using SMTP:
- Visit https://myaccount.google.com/apppasswords and create an “app password”, choose
otheras the type of app and name it anything like
Cloudflare mydomain.com aliases; store the app password that is displayed.
- Still in your personal Gmail, go to your personal Gmail > Cog icon > See All Settings > Accounts and Imports > and in the “Send email as” section click “Add another email address”. Set up SMTP using
smtp.gmail.com, keep port as
587, username should be
[email protected]and the app password we created, and submit. It will send a confirmation that you enter on the next screen. Do this for as many aliases as you need to send from like
[email protected]; you can use the same app password.
- Still in your personal Gmail’s
Send email assection, check to
Reply from the same address the message was sent to.
This will send and reply from your custom domain, however Gmail will show
[email protected] via Gmail. DKIM needs to be set up to get rid of
via Gmail. I haven’t figured this part out yet, so if anyone knows please share.