?
Solved

How to alert users that they have a survey / webform to complete

Posted on 2014-03-12
2
Medium Priority
?
50 Views
Last Modified: 2016-05-20
Using D7 with the latest version of webform. We have created several surveys and all is working fine, but a question came up in a meeting, is there an easier/automated way of sending emails to the specific users that need to complete the survey. What we do now, is create the survey, save, then go into our email client and send out a note that a survey is ready for you to complete at whatever url.

We would like to click a button "send survey url to:" and then add the email address of the user who needs to be alerted of the availability of the survey. They would jsut click the link and be taken to the the survey.
0
Comment
Question by:lfxchange
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
Cornelia Yoder earned 1600 total points
ID: 39925157
If you have a way to associate a given survey with an email address (or list thereof) that need to be notified of it, you could create a very simple database with survey id, email address, and some kind of notification and completion information.

Then run a cron job every hour (or day, as you think needed) to send an email to each address that hasn't yet been notified.  You could even automatically send a second email if not completed within a certain time frame.

A cron job is just a program that runs automatically, at whatever interval you specify, to check your database and create the emails.

This method would not even require you to click a button -- just create a survey and add the email addresses to be notified into the database, and let the cron job do all the work.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this blog, I will share you some basic tips for content marketing and to rank your website on Google.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question