Home › Forums › Quform WordPress › having 2 from emails
- This topic has 5 replies, 2 voices, and was last updated 9 years, 9 months ago by Ally.
- AuthorPosts
- July 14, 2014 at 5:04 pm #11853DGSjmonkhouseParticipant
Hello Ally,
Thank you for all the help. I thought I would start another post for this question.
I have a forum that I would like to have 2 From addresses in the email if the second field is filled out.I tried this but it stopped emails from sending….
function my_autoreply_recipients($mailer, $form, $attachments)
{
// Additional autoreply recipient email
$email = $form->getValue('iphorm_2_6');if ($email) {
$mailer->AddAddress($email);
$mailer->From = $email;
}return $mailer;
}
add_filter(‘iphorm_pre_send_notification_email_2’, ‘my_autoreply_recipients’, 10, 3);thank you 🙂
July 16, 2014 at 5:04 pm #11864AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
July 17, 2014 at 1:33 pm #11884DGSjmonkhouseParticipantHi,
I did not think of that. How about a CC? I see in the settings that there is a To and a BCC but no CC.
Could that be added? or I add it?
thanks,
John
July 19, 2014 at 3:25 pm #11901AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
July 25, 2014 at 4:04 pm #11972DGSjmonkhouseParticipantHello Ally,
I am still having problems with the emails not sending.
function my_custom_CC_email($mailer, $form, $attachments)
{
$email = $form->getValue('iphorm_2_6');
if ($email) {
$mailer->AddCC($email);
}
return $mailer;
}
add_filter('iphorm_pre_send_notification_email_2', 'my_custom_CC_email', 10, 3);Thanks for the help.
July 28, 2014 at 5:22 pm #11993AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.