Mail delivery failed messages sent to different inbox?

Brent

New member
Joined
Nov 7, 2011
Messages
2
I have an SMF forum that uses PHP to send emails to people to remind them of threads being updated, private messages, etc.

I created a [email protected] email account to send out all the emails for the forum. It works correctly and whenever I get an email from my forum it says it's from [email protected].

However, whenever it tries to send an email to an address that doesn't exist, the mail delivery failed message is put in my default inbox. I want these messages sent to the [email protected] inbox. How can I do this?

I assume it's being sent to my default inbox because the email is being sent from PHP and not actually from [email protected].
 
You need to use smtp protocol to send email, or using php mail function will use standard account (da_user@domain).

Using smtp will solve your issue.

Regards
 
I guess you'd better use SMTP, but even though it might or might not help you, as mail headers that is what defines such a behavior. So ask your question on SMF forum.

3.2 Trace information:

Return-Path:
Used to convey the information from the MAIL FROM envelope attribute in final delivery, when the message leaves the SMTP environment in which "MAIL FROM" is used.

3.5 Response control:

Errors-To:
Address to which notifications are to be sent and a request to get delivery notifications. Internet standards recommend, however, the use of RCPT TO and Return-Path, not Errors-To, for where delivery notifications are to be sent.
 
Thanks SMF has an option to use SMTP so I'm sure that will fix it. Just wasn't sure if there was an easier way.

zEitEr, thanks for explaining which headers define this behavior. That's actually what I was looking for but now it seems easier to just use SMTP. That will definitely help me in the future though, thanks!
 
Back
Top