Hi Bharath,
  Thanks I had gone through those options earlier but they
do not seem to work on Linux box.
  The -r option, I think, will be ignored by the qmail version
of sendmail as it is not sendmail, unless Eric tells me otherwise.
The sendmail_from is a windows based option only according
to the php ini file and manuals.
  However I did find another answer that cured the problem. I
had to set the Return-Path in the code itself. I thought the Reply-To
and Return-Path were the same object. They are not. So if anyone
else is getting issues where emails are rejected then set the
Reply-To: the same as the From email. address.

  Thanks for the help.

best wishes
  Tony White

On 17/06/2013 05:31, Bharath Chari wrote:

Tony White <[email protected]> wrote:

Hi Eric,
   Not too sure what is going on here with this issue.
I have a script that runs every night at the same time
and sends email to clients as needed.
   The php script sets the return-path to the From Address, yet when
run from a web browser it is set to [email protected]
but at the commandline it sets the return-path to
[email protected].
When some mail servers now receive the emails I get bounce replies
stating that
the "domain of the sender does not exist", absolutely correct.
It seems that it may be the sendmail drop in replacement for qmail that
is generating
the reply-to or return-path as my code sets this to the from email
address.

   Any ideas please?




best wishes
   Tony White

On 16/06/2013 00:39, Eric Shubert wrote:

On 06/14/2013 08:52 PM, Tony White wrote:
Hi all,
    Can somebody suggest how I change this to reflect
[email protected]?
I am seeing an increase of rejected mail due to the reply-to address
being
[email protected].


Which email(s) is this on?

Is this something that's being injected by qmail (that I'm not aware
of)?
I would expect this header to be set by the originating email client.
Find the client, and I expect you'll find where to
change it.

I could be wrong. I'm interested to chase this down though.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail:
[email protected]
Hi,
I think you may find this is a possible reason

  
http://stackoverflow.com/questions/8714988/php-mail-sends-emails-using-anonymous

Bharath

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to