I host my site with GoDaddy , and I use the PHP mail() function at the moment to send form mails from my site. GoDaddy has a 1000 SMTP relay limit per day for form mail stuff, but they swear that with my PHP script that I should not be touching it.
-
Since
mail()doesn’t take SMTP info, does it just automatically use GoDaddy’s (or whatever hosting you may be on)? -
If my site is going to be expecting more than 1000 emails sent out a day (separate instances, not in a loop), should I be using a different method, or is
mail()the right choice?
Php uses by default, the local mail-server. However you can specify this in your php.ini configuration file.
If you expect to send more email than that, you might want to look into finding a different server to mail from, or alternative hosting