0
So I'm a bit confused and need direction.
I am building a website which contains a "Contact Us" page.
I host this site using nginx as the web server and has sendmail as an MTA.
The confusion is whether or not a mail server is needed or do I just do everything through nginx.
I set up the contact us page and used php's mail() funciton and got back false. As in nothing was sent. After asking for help some gent told me to pass the arguments to sendmail. After further reseach, I found that sendmail is used by command line only. If this is the case, then there's no point in using sendmail for the "Contact Us" page.
I don't want to set up a mail server to use for personal use, just to send email messages from the website to a gmail account....ok maybe just forward that message to a gmail account.
Would someone please some me understand this concept.