SMF Support > SMF 2.0.x Support

Is there a record of emails sent from smf

<< < (3/3)

floridaflatlander:

--- Quote from: MrPhil on May 15, 2012, 12:54:59 PM ---Yeah, you'd have to modify the PHP code that generates the email. For PHP, it's the mail() call's header parameters you'd have to add a CC or BCC to. For SMTP it's probably something similar.

--- End quote ---

What file is that in, I searched all of the files in the Sources folder and didn't find it.

MrPhil:
It will take some experimentation, but in Sources/Subs-Post.php there is a sendmail() function that seems to assemble a $headers string containing From, Reply-To, Return-Path, Date, Message-ID, X-Mailer. Somewhere in there is where I'd try adding a "BCC: forumOutbound@mysite".

floridaflatlander:
I looked and if I see it right the email is in a foreach loop for multiple emails.

Sooo ... when I get time I'll see if I can pull my user id mun in to the function and hard code an email to me(to just send a copy to me when I use it) or make it so an email copy is sent to whoever uses my forum to send an email to another member.


I'll be back ... to update later.

MrPhil:
Yeah, you should be able to add as many CC or BCC emails as you want. Note that if members can see that a copy is being sent elsewhere, they may be concerned about their privacy (different email clients may or may not conceal that there is a BCC list). In that case, it may be best to come clean and use CC with a clear "outboundEmailLog@yoursite" address. Be sure to check if an email generated by a PM ends up sending a copy to you! PMs are supposed to be personal, and not many members will be happy to see a copy emailed to you. You might have to do something to suppress this new function for PMs.

Naturally, to add the function of an email copy to the sender means that you have to know which member is causing the email to be generated, and to get that information down to the point where the header is created. It could be a bit of work, much more than adding some fixed email address.

floridaflatlander:

--- Quote from: MrPhil on May 16, 2012, 01:18:51 PM ---Yeah, you should be able to add as many CC or BCC emails as you want. Note that if members can see that a copy is being sent elsewhere, they may be concerned about their privacy ....

Naturally, to add the function of an email copy to the sender means that you have to know which member is causing the email to be generated, and to get that information down to the point where the header is created. It could be a bit of work, much more than adding some fixed email address.

--- End quote ---

I just want a copy of any emails I send to a user. Users should be able to email each other with out me knowing about it.

Also your right that's why I wrote

--- Quote from: floridaflatlander on May 16, 2012, 12:47:04 PM --- ... when I get time I'll see if I can pull my user id mun(should be id_member) in to the function and hard code an email to me ...

--- End quote ---

Anyway thanks for the help,  I'll be back

Navigation

[0] Message Index

[*] Previous page

Go to full version