Home › Forums › Quform WordPress › autoreply
- This topic has 10 replies, 2 voices, and was last updated 11 years, 9 months ago by Ally.
- AuthorPosts
- January 31, 2013 at 10:05 am #2513s31tegParticipant
i have just moved to this form from another as the conditional formatting works excellent for my customers
what i need though is the email i get with all the details to also be sent to the users email address as well?
how can i do this automatically?
http://wehaveany.com/uploader/
thanks
January 31, 2013 at 11:25 am #2518AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 31, 2013 at 11:38 am #2519s31tegParticipantyeah i seen you could make your own html and then put the details in
can it not be modified so the email i get also gets cc to the user entered email?
January 31, 2013 at 11:56 am #2520s31tegParticipantalso if i done the same i need the plugin to put the correct htaccess files as i dont want people browsing other peoples submitted images for child protection reasons?
any help ally would be great
if i can iron out these issues it makes my life allot easier not having to answer questions from buyers
January 31, 2013 at 12:16 pm #2521AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 31, 2013 at 12:57 pm #2522s31tegParticipantso i added this:
<?php } // end custom_pings
function mytheme_add_autoreply_bcc($mailer, $form, $attachments)
{
$email = $form->getValue('iphorm_1_28');
if ($email) {
$mailer->AddBCC($email);
}return $mailer;
}
add_filter('iphorm_pre_send_autoreply_email_2', 'mytheme_add_autoreply_bcc', 10, 3);
?>then when i go on page it gives me
Warning: Cannot modify header information – headers already sent by (output started at /home/s31teg/public_html/wp-content/themes/ability/functions.php:905) in /home/s31teg/public_html/wp-includes/pluggable.php on line 876
January 31, 2013 at 1:20 pm #2523AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 31, 2013 at 1:28 pm #2524s31tegParticipantso i moved it to the end outside of the php tag
?>
function mytheme_add_autoreply_bcc($mailer, $form, $attachments)
{
$email = $form->getValue('iphorm_1_28');
if ($email) {
$mailer->AddBCC($email);
}return $mailer;
}
add_filter('iphorm_pre_send_autoreply_email_2', 'mytheme_add_autoreply_bcc', 10, 3);it still just send me the custom message i have set up of
“Thanks, we have your detials”
so i need to change the line
add_filter(‘iphorm_pre_send_autoreply_email_2’, ‘mytheme_add_autoreply_bcc’, 10, 3)to
add_filter(‘iphorm_pre_send_autoreply_email_iphorm_1_28’, ‘mytheme_add_autoreply_bcc’, 10, 3)
January 31, 2013 at 2:52 pm #2531AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 31, 2013 at 4:25 pm #2544s31tegParticipantso i added
function mytheme_add_autoreply_bcc($mailer, $form, $attachments)
{
$email = $form->getValue('iphorm_1_28');
if ($email) {
$mailer->AddBCC($email);
}return $mailer;
}
add_filter('iphorm_pre_send_autoreply_email_1', 'mytheme_add_autoreply_bcc', 10, 3);it give me this error
function mytheme_add_autoreply_bcc($mailer, $form, $attachments) { $email = $form->getValue(‘iphorm_1_28’); if ($email) { $mailer->AddBCC($email); } return $mailer; } add_filter(‘iphorm_pre_send_autoreply_email_1’, ‘mytheme_add_autoreply_bcc’, 10, 3);
Warning: Cannot modify header information – headers already sent by (output started at /home/s31teg/public_html/wp-content/themes/ability/functions.php:904) in /home/s31teg/public_html/wp-includes/pluggable.php on line 876January 31, 2013 at 5:44 pm #2559AllySupport 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.