Wordpress site not sending out emails
I'm a newbie, so bear with me.
I've set up a Wordpress site using this very helpful guide -
I have also installed a Contact Form 7 plugin which I use to create "contact me" forms. However, the form submissions fail to send out emails to my designated inbox (the error message was "Failed to send your message. Please try later or contact the administrator by another method.")
Did I miss anything? I suspect that it may have to do with setting up mail servers. I am, however, using an external service (fastmail) for that domain.
I would appreciate any help, thank you very much!
myhostname = hostname.example.com
myorigin = $mydomain
inet_interfaces = loopback-only
The first line sets your hostname (customize for your actual case). The second sets addresses for mail coming from your webserver to be
This should pretty much be it. If you run into trouble with Fastmail not accepting messages, you may want to look into the
guide for using external SMTP servers
Another option might be to not use that WordPress plugin and instead use a FormSpree form which is simple HTML that can then send you an email, also for free.