The original post: /r/php by /u/mathestnoobest on 2024-10-09 18:37:14.

if you are using php mail()/sendmail and sending an email from the same server your from field is from, does it risk your email being flagged as spam?

is there any advantage or need to use smtp/authentication instead of just sendmail?