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.
1 Like
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
other
as the type of app and name it anything likeCloudflare 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 as587
, 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]
&[email protected]
; you can use the same app password. - Still in your personal Gmail’s
Send email as
section, check toReply 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.