Make email notification default to user's email

davidrf - September 16, 2007 - 19:18
Project:Guestbook
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:hba
Status:closed
Description

The email notification is a great feature -- thanks for that. However, each individual user must enter their notification email manually. How can I set it up so that the notification email address is by default the email address that the user registered with? Or can this be included in the next release?

#1

jaydub - September 19, 2007 - 09:36
Status:active» patch (code needs review)

I replaced the textfield for the 'sendto' email address with a checkbox to allow the user to enable/disable email notification of guestbook entries. If enabled the mail notification will default to sending to the email address in the standard user profile.

AttachmentSize
guestbook.module_0.patch2.07 KB

#2

hba - September 24, 2007 - 11:14
Status:patch (code needs review)» fixed

Thanks, jaydub. I've added this to the cvs version, but haven't had time to check if it works. Feedback is welcome.

#3

hba - September 24, 2007 - 11:15
Assigned to:Anonymous» hba

#4

Anonymous - October 8, 2007 - 11:32
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.