Login Form

#214 – Multiple email addresses in Email field

Posted in ‘BF Survey’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 08 May 2014 07:39 AEST
JayBee79
Joomla! version: 2.5.11
bfSurveyPlus

What, if any, is the process to add multiple email addresses to the Email field to allow results to be sent to multiple email addresses? I have tried separating with a semi-colon and colon and cannot get it to work!
 
Thursday, 08 May 2014 11:20 AEST 10'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
Hi Jeremy,
Sending to multiple email addresses is not a current feature of BF Survey Plus, however it will be a feature in the new BF Survey (currently in beta testing). If you wanted to implement in BF Survey Plus, you could try editing /components/com_bfsurvey_plus/controller.php

in the sendHTMLNotificationEmail around line 620
JFactory::getMailer()->sendMail($mailfrom, $fromname, $sendEmailTo, $emailSubject, $emailBody, $mode);

//change to
$mysendEmailTo = explode( ',', $sendEmailTo );
foreach($mysendEmailTo AS $sendEmailTo)
{
JFactory::getMailer()->sendMail($mailfrom, $fromname, $sendEmailTo, $emailSubject, $emailBody, $mode);
}


This assumes email addresses are separated by a comma.

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
Thursday, 08 May 2014 11:28 AEST
JayBee79
When will the new BF Survey be available?
 
Thursday, 08 May 2014 18:16 AEST 5'
Tim
BF Quiz Plus 3 Years, BF Survey 12 Months
Beta version of the new BF Survey is already available.
http://tamlynsoftware.com/download/bf-survey/bf-survey-1-0-0-beta3.html

I expect to do some further testing over the weekend, and plan to officially release early next week.

regards

Tim
Follow us on twitter http://twitter.com/tamlynsoftware
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.
Go to top