php mail() function problem
when i send mail via smtp in message header i see this:Return-path: <support@soloymi.com>
Envelope-to: ivs@greencardserbia.com
but when i use php mail() function i see this in header:
Return-Path: <nobody@server2.soloymi.com>
Delivered-To: 10-ivs@soloymi.com
The problem is that if remote server can't verify the mail address it bloks it.
Please tell me how to solve this, many server bloks php mail().
thanks