Re: mail - differentiate between smtp envelope to and header to?



afrinspray wrote:

> Hello,
>
> I'm trying to send email to one address (the SMTP to:) but set the
> headers to a different to: address. Everytime I do this, it sends to
> both addresses. Is there a way to tell PHP to ignore the header all
> together?
>
> Thanks,
> Mike

No - but if you write your own SMTP interface you can ask the MTA to only
RCPT TO the envelope receipient.

C.
.



Relevant Pages

  • RE: No IP address logging on internal email.
    ... The headers you describe are SMTP ... the same server MAPI doesn't add anything to the SMTP header. ... "Send-As" permission is sending-as these users, so check mailbox rights. ...
    (microsoft.public.exchange2000.transport)
  • Re: Strange SPAM with no tracks...!?
    ... the destination domain generates a NDR for the recipient in your domain whose email address was spoofed in headers. ... If the destination domain did a SenderID check and you had SPF records published, it would have been easy to determine that the sending host is not authorized to send for your domain and this sort of thing can be avoided. ... For assistance, contact your system administrator. ... Searching for co.sutter.ca.us in the Exchange SMTP logs gives me no hits at all. ...
    (microsoft.public.exchange.admin)
  • Re: Server.sendmail with no "to_addrs" parameter.
    ... solely in the CC and/or BCC fields - both of which are possible through ... headers - rfc2822 has the minimum number listed as 0 ... can't get mail delivered via SMTP without a RCPT TO command at SMTP ...
    (comp.lang.python)
  • Re: Can anyone explain Bayesian filtering/calculations?
    ... like all-caps "To", "From", etc. headers. ... like messages inserted by the SMTP ... trying to make it as good as a maintained spam blocker. ... lookups to find the target's mail server, ...
    (comp.programming)
  • mail - differentiate between smtp envelope to and header to?
    ... I'm trying to send email to one address (the SMTP to:) but set the ... headers to a different to: ... Everytime I do this, it sends to ... Prev by Date: ...
    (comp.lang.php)