I have two question concening sending mails thru php
What does the -f option (envelope sender address) exactly mean? And how would I set this option in this case:
From: My Name <firstname.lastname@example.org>
Here an example:
Where would I set the -f?Code:email@example.com, Test Mail, Dies ist eine Testmail, Message-ID: <firstname.lastname@example.org> From: My Name <email@example.com>
When I have a mail as in the example above, the mail queue shows something like
anonymous@sender as sender. Only if I add a Return-Path I get the Return-Path address shown as sender.
- Is this correct?
- Why isn't the From address used as sender?
- Can this make difficulties sending emails (i.e. mailservers not accepting these mails)?