i have a mail form that will send mail if it is going to a name like
"someone@someplace.com"
but it will not work if the email address is
"cs@someplace.com"
Does mail() do some sort of validation before sending?
Also, its my understanding that valid email addresses must have at least 2 valid characters before the @ symbol.
Thoughts?
is a valid email address, doesn’t matter how few characters there are before the @ symbol, as long as there is at least 1 and it’s an ASCII character defined in RFC 5322.
Assuming that you’re using a valid email address which exists the problem is on your server.
mail() uses the SMTP server on your box, so perhaps check there for how it’s configured.