Email gets modified when hosting on railway
theotherguy2175
FREEOP

2 months ago

I am using microsoft entra services to login to office 365 to send emails. The issue is that on my local dev instance emails send in full html with no issues. Even password reset links are the same

However with the exact same code on django and exact same credentials and everything, while the email does get delivered, the content is different than when it is sent on dev.

Is there something on the railway side or rather railway to microsoft that is causing this issue?

$10 Bounty

2 Replies

reverse
HOBBY

2 months ago

If it's sending, I would lean towards that it's not a railway issue unless gmail is somehow flagging the IP because it's coming from a data center, which is possible.

I would verify that the configuration is the exact same - specifically if you have all of the files / images / html you are trying to render on railway and in the environment.


theotherguy2175
FREEOP

2 months ago

Yeah it's the exact same, it's just an html file only no images. The first thing that comes to my mind is that railways external IP is a know 'service' vs my house, so I wonder if microsoft see's that and flags it as changed?


Loading...