Was wondering what possibilities there are for my web app to interact via email ? In particular I want to process incoming messages (think of a service account per client instance operating like support tickets - where replies above the line are retrieved).
So I have code for POP and IMAP but do not want to set up a dedicated mail server but I also want the email to have my domain.
Like I say, this isn’t for a traditional email box but rather to receive and parse out emails coming to something like this:
MBS Xojo CURL Plugin comes with examples for receiving emails via IMAP.
And you can use the CURLEmailMBS class to send email where the plugin assembles the email based on your data.
Thanks Christian but I don’t think you read my question fully. I said I already know how to do this - so that is not the question here. The question is what options do I have without setting up a mail server myself whilst still wanting the emails involved to have my domain ?
Thanks Rod but I did investigate. VPS on Digital Ocean. Two articles relating to email on DO (and from these I’m pretty sure mail is not set up nor have I installed a mail server):
Followed more recently by the cPanel webmail suggestion article:
CentOS. Trust me I’d really rather not install anything
I just want to send and receive (and parse) em ails sent to and from nominal email addresses under my domain and a bonus would be receiving notifications of new mails (eg web hook) rather than pollong.
Would be ideal not to have a thurd party service but if th ats pretty much tge only way without installing a mail server then so be it.
I did have a bruef look at Goigle Suite but my word how unnecessarily complicated is that IMHO.
I was literally just talking about this in another thread. I’ve setup my VPS with Postfix, Dovecot, Spamassassin, Clam, Amavis… the full suite. I’ve configured everything for SPF+DMARC+DKIM. It’s a whole boatload of work, and you’ll still have deliverability issues with Google and Outlook users. For the record, my server has never been blacklisted. Google and Microsoft spam systems are very aggressive and will treat a server with little reputation very poorly.
I spent countless hours tweaking my emails - none of them marketing, just things like password resets, called transactional emails - to get a better score with those filters, only to start having my emails delivered to junk in a few weeks.
I gave up and switched to using Postmark, after experimenting with SendGrid and MailGun. SG and MG still gave me deliverability issues, but Postmark has been phenomenal.
Don’t try to reinvent the wheel. Let somebody else deliver your email. Even for somebody like me that has lots of experience in the area, Postmark has done a far better job than I ever could.
If you’re setting up a blank VPS then use Centos WebPanel. It’s free and typing one installer command will get you a VPS that’s easy to manage and has web and mail services ready from the get-go.