Where should mail coming from a form?
how it works?
I’m not sure of the answer, but wanted to ask the same question. Does the from email have to go through a specific address linked to the server or can we put any email address there?
Depends on your host… most won’t allow you to send email from an address outside your domain.
is it possible to specify the smtp server settings?
I’ve just run a test on a website I’ve been able to use my account username followed by the server name. This would be something like username@hostname. You may need to obtain this information from your web host.
No… as it does not check in with the server. It simply uses the PHP ‘mail’ function.