What is the best way to avoid email sent through PHP getting into the spam folder?
- Sending mail using the PHP mail function with minimum parameters we tend to should use headers like MIME-version, Content-type, reply address, from address, etc. to avoid this case
- Did not use correct SMTP mail script like PHPmailer.
- Should not use website link in mail content.
BY Best Interview Question ON 26 Jan 2019