BCC admin

willeaton - February 9, 2009 - 23:06
Project:Author Contact
Version:6.x-1.1
Component:Code
Category:feature request
Priority:normal
Assigned:JustJamesAus
Status:closed
Description

Can there be an option to BCC the email to admin so that they can track emails being sent. If not then a stats page would be a good idea, at least then I can track how many leads each node is generating.

Thanks
William Eaton

#1

JustJamesAus - February 11, 2009 - 03:31
Assigned to:Anonymous» JustJamesAus

BCC sounds like a good idea, but there might be an issue with privacy. If I was contacting someone through a website I might assume that only that person would read it, whereas with your suggestion the site owner (or whoever is BCCed) will see my note and get my contact details.

But your idea of a tracking / stats page might be okay - tracking how many emails are sent through each form but not keeping a record of their contents would be useful and anonymous.

What do you think?

#2

willeaton - February 11, 2009 - 09:17

Sounds good, although as for the BCC, in my case I would need to be able to prove the leads, at least to start with (later on stats would be fine). I can deal with the privacy issue in the privacy policy, I wouldn't be keeping the data for mailing purposes. Any clues on how I can do it as a hack in the meantime? I looked at it and couldn't figure out the drupal_mail.

Thanks
Will

#3

JustJamesAus - February 11, 2009 - 10:10

Hi will

I haven't tested it, but i'm pretty sure you can add Bcc in as a header in the $message array

If you're using the d6 version, look for function authorcontact_mail and where it says:

$message['subject'] = t('Contact via @site', array('@site' => variable_get('site_name', 'Your website')));

... insert another line before or after it that says:

$message['headers'] = array('Bcc' => 'myname@example.com');

#4

JustJamesAus - May 9, 2009 - 02:44

I've added this to the d6 dev version, check it out if you can and let me know if it's working how you'd like - I haven't had time to do much testing.

#5

JustJamesAus - June 1, 2009 - 03:35
Status:active» fixed

#6

System Message - June 15, 2009 - 03:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.