Looking for a D7 module or tool to email invitations to events

Events happening in the community are now at Drupal community events on www.drupal.org.
rtvWebServicesLibrarian's picture

Hello all!
Hope those of you who managed to get to Drupalcon had a great time. I'm looking forward to hearing about your experiences at our next meeting.

I am looking for a way to send invitations to events when I add them to a calendar. I've created an "Event" content type that populates a calendar. It would be really helpful when adding an event if I could:
1. Select registered site members to send the invitation to, and
2. Enter email addresses in a field and have notification sent to these people as well.

Any ideas on how to make this happen in D7?

Thanks in advance!

Todd V

Comments

Have you looked at the Signup

jeremyr's picture

Have you looked at the Signup module? It's still in DEV for D7 but it might work for you. http://drupal.org/project/signup

Rules?

webchuck's picture

This might be a stretch, but you could try sending your emails with rules. Here's what I would try:

In your Event content type:

  1. Add a new fieldset (just for organization)
  2. Add 3 new fields:
    • Send email notification (checkbox field)
    • Users to be notified (user reference field, requires references module)
    • Additional email addresses (text field)

In rules:

  1. Add a new rule
  2. On event: After saving new node
  3. Condition: Send email notification checkbox is checked
  4. Action: Send emails to addresses of users referenced
  5. Action: Send emails to Additional email addresses
  6. Action: Uncheck "Send email notification" checkbox

Good luck with this, hope this helps.

Thanks for the ideas

rtvWebServicesLibrarian's picture

Thanks, Jeremy, for the module idea. If I can't get Rules to work for me, I'll give it a try.

Chuck, I had an inkling this would be the way to go, and I'm grateful to have you confirming it. I have a couple of questions:
1. How do you create fieldsets in D7?
2. For the email notification field, am I correct in assuming you use a "single on/off checkbox"?

Thanks again!
Todd V.

Sorry, forgot to give

webchuck's picture

Sorry, forgot to give links:
Field Group - http://drupal.org/project/field_group
References - http://drupal.org/project/references

Chuck

rtvWebServicesLibrarian's picture

Chuck,
Thanks, your suggestion is helping me make progress!

I am trying to set the condition you suggest, but am unable to set a condition that checks if the send email notification box is checked. I tried selecting each of the following options: "Data comparison," and "Data value is empty" (and then negating it), but in the next dialog box ("Data to compare") it does not give me any way to select a specific field in the node. I created a field_email_notify field in my Event type, and made it a Boolean, single on/off checkbox. The selector options do not include anything like node:field:email_notify, or anything close to it.

Any suggestions or guidance would be greatly appreciate. (Sorry to keep asking about this; I'm excited that I might make it happen!)

You have to first use the

j_ten_man's picture

You have to first use the condition "Entity has field" and select the field you are trying to compare. I believe you'll have to do so for all of the fields that you are trying to use in the rule.

That did it, thanks!

rtvWebServicesLibrarian's picture

Thanks, JC, I think it will work now!

Hi folks, I was wondering if

jessico's picture

Hi folks,

I was wondering if anyone can elaborate on how to setup Step 4 from above:

'Action: Send emails to addresses of users referenced'

I can set a rule action to send email to [node:my_user_reference_field], but that does not pull the email address that is associated with the referenced user and it fails.

error mail Error sending e-mail (from admin@mysite.com to ).
notice rules Successfully sent email to "user"

I imagine there must be a way to get the email address associated with that user and then send the email, but I have not been able to figure that part out.

I can successfully send notifications via the 'additional emails addresses' field.

Any guidance would be greatly appreciated!

Did you solve it ?

drupa11y's picture

Hi All,
I currently have the same issue to "attach" a iCal-Invitation from a calendar-event to an eMail as invitation which could be accepted or declined.

Any hints on this?

I currently trying to achieve this with rules and these "registration" modules with D7:
http://drupal.org/project/registration
http://drupal.org/project/node_registration