making mail sender

I`m trying to make mail sender service but can't figure out how to use those online mail services. I tried using sendgrid and mailersend but I dont understand from where should I get that "from" email. I heard about smtp server but im not sure what it is and how to use it
10 Replies
Pobiega
Pobiega•4mo ago
Selfhosting an SMTP server will likely not be a good idea. Your emails will get caught in spam filters 90-99% of the time What exactly do you mean by
...but I dont understand from where should I get that "from" email...
your "from" address can technically just be made up, but you should ideally own the address you pretend to be from, even if its just a [email protected]
blueberriesiftheywerecats
those services do not like that my 'from' email is @gmail.com, does this mean I have to create business gmail account or smth like that?
Pobiega
Pobiega•4mo ago
https://sendgrid.com/en-us/blog/new-sending-requirements-for-gmail-yahoo is very relevant here basicly, its not a good idea to try and use sendgrid to send from gmail addresses I would 100% recommend getting your own domain and using that instead also this https://sendgrid.com/en-us/blog/gmail-yahoo-updates-faq
blueberriesiftheywerecats
yeah im just trying to test it with gmail domain but im getting a timeout and System.Net.Mail.SmtpException: Failure sending mail but not sure why
No description
No description
Pobiega
Pobiega•4mo ago
gmail specifically is a bad choice because they and sendgrid have some specific deals in place a custom domain would probably just work without any configuration at all
blueberriesiftheywerecats
is there a way to create a free one or should i just go with google free trial?
Pobiega
Pobiega•4mo ago
a free domain? not afaik but its like $10 a year at most for the cheaper tlds I own like 5 😄
Angius
Angius•4mo ago
If you really want to send from your gmail address, I believe you can do that through SMTP The amount of emails you can send this way is limited, though https://support.google.com/a/answer/176600?hl=en 10k emails per day using SMTP relay, 2k per day using raw SMTP
Core
Core•4mo ago
you can buy a domain for 1$, and even renew it for 1$. Any domain that consists of numbers and ends in xyz is cheap. For example: 2732566.xyz https://www.namecheap.com/domains/registration/results/?domain=2362635.xyz you can check it out, it's only 84 cent
Core
Core•4mo ago
A good and cheap alternative of Sendgrid is Resend: https://resend.com/pricing
Pricing · Resend
Start for free and scale as you grow.
Want results from more Discord servers?
Add your server