Topic: knowing who/what got emailed

Hello,

First off, great bulletin board.  I love it.

The problem I'm trying to solve is as an admin, when I send a user an email from their profile is there a way to either cache that email someplace (when I send a 'regular' email I can see it in the 'sent folder') or some way to cc it to the admin account?  Or something like that?  I want to be able to see the emails that were sent is my point.  Right now once the email is sent, it's gone, done, poof.

I suppose it would be nice if a user sent an email they could have it saved for them too, but as an admin I really only care about the stuff I send.  Not being a php guru I'd *guess* I'd have to add some kind of line for a cc thing to my mail() calls, or add a line to the mail file, but I haven't really looked into that.

Also, if it helps, my email options settings for smtp are all empty.

Thanks for any insight and/or pointers.

Rich

Re: knowing who/what got emailed

Well, in misc.php after the original pun_mail call you can put in another call to pun_mail with the to address being the senders
Like this:

pun_mail($recipient_email, $mail_subject, $mail_message, '"'.str_replace('"', '', $pun_user['username']).'" <'.$pun_user['email'].'>');

Add this after:
pun_mail($pun_user['email'], "Sent: ".$mail_subject."", $mail_message, '"'.str_replace('"', '', $pun_user['username']).'" <'.$pun_user['email'].'>');

This will send a copy of the email to the sender (with the subject being Sent: [whatever the subject of the email was)

Re: knowing who/what got emailed

Sounds good.  Thanks much.

Rich