Hello,
As per my knowledge.
Always Use SMTP authentication method to send emails.
When you send email through SMTP authentication, your server automatically send extra information to targeting server which is considered as valid sender. So normally it is not considered as spam.
Second, mostly mail services,like yahoo,live mail and gmail consider those emails as spam which are not added in safe list or in contacts.
Hope this is helpful for you.