Email routing to Gmail and alias

Hello! I just created my new email address hello@mydomain.com to forward emails to my gmail account. Then using another account, I sent an email to the hello account, and it was received to the gmail account, but once the email is answered, it appears the gmail account, can it be overwritten somehow to show the hello account? Many thanks
22 Replies
SuperHelpflare
Support AI
According to the documentation, when using Cloudflare's Email Routing feature, the "From" address of the forwarded email will be the original sender's address, not the custom address you set up (in this case, hello@mydomain.com). Unfortunately, it's not possible to overwrite the "From" address to show the hello account when responding to the email. The documentation doesn't provide any information on how to achieve this. However, you can consider using a third-party email service that supports aliasing or masking the "From" address. Some email services, like Gmail, allow you to set up custom "From" addresses or aliases, which might help you achieve the desired behavior. Please note that this is a limitation of Cloudflare's Email Routing feature, and it's not possible to change this behavior within Cloudflare. Source: https://developers.cloudflare.com/email-routing/setup/email-routing-addresses/
Feedback
Feedback has been submitted! Thank you :)
This is an AI generated response, it may not be 100% accurate. Please validate the output. You can ask followups by replying to this message or mentioning me.
rdm
rdm4w ago
Email routing is inbound only. You'll need another service for the outbound leg, like SendGrid or (there are a few others)
JuSt
JuStOP4w ago
many thanks @rdm ! is there any free service to do it ?
rdm
rdm4w ago
Generally, I think so. I assume it's a KYC (know your customer) thing to prevent spam.
JuSt
JuStOP4w ago
any example of provider? little new on this
rdm
rdm4w ago
🙂 For sure, give me a second, and I'll google it. The name is on the tip of my tongue lol. I personally use AWS SES Mailgun is the one I see discussed here. (The one I couldn't think of).
JuSt
JuStOP4w ago
oh mailgun seems to be free at lest to 100 emails, more than enought for me right now
rdm
rdm4w ago
Oh nice. I've never looked.
JuSt
JuStOP4w ago
AWS SES seems very cheap as I can see right? how much do you pay if you can say it
rdm
rdm4w ago
Oh, it's just in my personal account. lol Let me look
rdm
rdm4w ago
No description
rdm
rdm4w ago
Sorry to brag. I'm a big spender. 😉
JuSt
JuStOP4w ago
lol hahah but do you send emails, right? to understand it XD
rdm
rdm4w ago
I do, just such a low volume on my personal account. I use it to test things.. and I have a few things in my home lab.. that sent 15 email last month lol. But when you verify your domain and add the records. Then when you send outbound, the entire email header will reference your domain.. and not gmail or your gmail account.
JuSt
JuStOP4w ago
i see, gonna try it and see how it goes
rdm
rdm4w ago
https://dev.to/pierre/gmail-with-cloudflare-email-routing-4413 There are ways to "make it work" without any external services (That's just one of I'm sure many articles out there). But, when you do that type of workaround. The email header will always include your sending gmail account details. And depending on the recieving end it could end up in spam
DEV Community
How to Send Emails Using Gmail SMTP with Cloudflare Email Routing?
In this dev post, I will describe here the steps you can use for sending emails through Gmail SMTP...
JuSt
JuStOP4w ago
i followed that and it works but...as you say...
No description
rdm
rdm4w ago
🙂 Yea. I just wanted to mention it. The email header and the proper outbound email leg is what most people really want.
JuSt
JuStOP4w ago
yes i see my gmail account on the header (F xD)
rdm
rdm4w ago
🙂 Yea, and once you do the outbound leg with like Mailgun.. when you set it up in gmail.. then the headers will match the domain and none of the recieving mailboxes will know about your gmail account. Good luck!
JuSt
JuStOP4w ago
many thanks buddy for all the help, amazing community ❤️
rdm
rdm4w ago
Happy to help.

Did you find this page helpful?