programmatically send email not depending on third party services

RGuillermo
RGuillermo used Ask the Experts™
on
Hello Experts,
I would like to be able to send emails from my own application
not depending from google gmail or nothing...
just my app sending the email

Is this possible, and if there is an example?
Right now using visual studio basic and visual c#
But we could use anything you suggest.
 As long as it gives us the control and we do not depend on third party services.

the thing is gmail automatically block itself if not used constantly and also present different challenges that change constantly.
Regards!

Just wanted to add that right now our apps send emails programatically using gmail services,
so we want to get rid of that dependance...
Thank you
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
If you don't want to use a 3rd party service then you have to install your own service i.e. exchange, sendmail etc or build the entire thing in to your application. It is so much easier to start standing on the shoulders of giants.
Other 3rd party options are like mailchimp or sendgrid https://sendgrid.com/pricing/
Dave BaldwinFixer of Problems
Most Valuable Expert 2014

Commented:
You have to have a mail server that can communicate with all of the other mail servers that you want to send email to.  Installing your own service as David mentioned above is an enormous amount of work.
Chinmay PatelChief Technology Ninja
Distinguished Expert 2018

Commented:
Hi RGuillermo,

I have a feeling you are facing challenges because you are trying to send emails in large volume. Is that correct assumption?

Regards,
Chinmay.
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

Most Valuable Expert 2015
Distinguished Expert 2018
Commented:
All you need is an SMTP server. This comes by default with any Windows Server and Linux server distribution.

On a Windows server, simply enable the "Simple Mail Transport (SMTP)" service and configure it to fit your purpose, then modify your application to address this, not Gmail. Of course, your ISP must allow sending mail via port 25 or 587.

The real challenge is to publish your server to not be regarded as a spam source. Your public IP address must be located in a range published as static (no ADSL line, not to say LTE).
Also, in your DNS settings for your domain, set up an SPF record and, if possible, DMARC (search in these topics if you are not familiar with them or leave it to a network guy for whom it will be trivial).

Alternatively, your ISP may offer an SMTP service for free. Then you will need no server at all, but some limitations may be enforced. Check on that with your ISP.
RGuillermoProject Manager

Author

Commented:
Chinmay Patel
Yes correct around 1500 a day per user.
and around 10 users
maybe its not that much but gmail work well one day and the next it changed its security settings and other steps.
RGuillermoProject Manager

Author

Commented:
Thank you so much Experts!!
Most Valuable Expert 2015
Distinguished Expert 2018

Commented:
You are welcome!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial