nliautaud / p01contact

Create contact forms by writing simple tags. Also a plugin for GetSimple and Pico CMS.
MIT License
16 stars 15 forks source link

How does p01contact actually send the mail? #63

Closed JoshuaPettus closed 2 years ago

JoshuaPettus commented 2 years ago

I seem to have most of the plugin working. However when I enter in all the information in the fields, and make sure the plugin has a destination address, I just get "Error: Message Not Sent" With no explanation why. Most likely I'm missing something in my configuration. But then how does it actually send an email? Does it use the server's "sendmail" command? (If so I already have that configured.

[EDIT] I figured it out. I did some research on php mailing function and how it relates to sendmail (also found my sendmail relay configuration wasn't working anymore).