Reputation: 745
I got a api that generate a number and sends it the client email account for verification.
Till now i have been using the free version of Send grid, but recently noticed that some off the emails are being blocked, or black listed.
This is the error i was getting. : "522 email sent from 149.72.39.137 found on industry IP blacklists (Spamhaus/Invaluement/ReturnPath) on 2020/09/13 20:32:34 BST. To protect our customers, we use leading industry providers of blacklists to ensure only good senders can send email to us. If believe this is a mistake, please contact them directly as there is nothing our Postmaster will be able to do."
The support team at Send Grid have managed to get my account working again.
But as i am on shared server plan(Free account), there is still a possibility this could arise due to various reasons such as other users.
To avoid this i did some research and found that using my own domain, i could create a email account and using c# and the smpt server details send email directly .
Would there be any disadvantage of doing it this that way?
Upvotes: 0
Views: 221
Reputation: 1312
Only having a domain doesn't replace SendGrid. SendGrid is providing you with SMTP servers for sending and delivering huge amounts of emails reliably. You could get an SMTP server somewhere and use it to send out the emails using C#. However, configuring your own SMTP server requires good knowledge of the underlying technologies and it is a lot of work. In case you don't want to do that, you could get a cheap hosting plan from some provider, but keep in mind that you are then also sharing your SMTP server with other people. So in the end this is no different than having a shared SendGrid account.
Best bet for you is to pay the $80 bucks and get a dedicated IP plan from SendGrid together with a domain so you can properly setup SPF and DKIM. Cheaping out on your email infrastructure will result in issues later on.
For developing and testing, another option would be to get a cheap paid email plan from a popular provider and try to use it's SMTP server to send out emails. E.g. Outlook.
Upvotes: 0