This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
save for later
Started 11 years ago by msavi | 7 posts |
-
can you tell where i should make the change to add the admin email?
Posted 11 years ago # -
Do you mean you would like to resume email being sent to admin as well?
MachForm Founder
Posted 11 years ago # -
yes
Posted 11 years ago # -
You can edit the "includes/helper-functions.php" file. Search around line 1281 for this code:
$s_message = Swift_Message::newInstance() ->setCharset('utf-8') ->setMaxLineLength(1000) ->setSubject($subject) ->setFrom(array($from_email => $from_name)) ->setSender($from_email) ->setReturnPath($from_email) ->setTo($resume_email) ->setBody($email_content, 'text/html');
change it to become:
$s_message = Swift_Message::newInstance() ->setCharset('utf-8') ->setMaxLineLength(1000) ->setSubject($subject) ->setFrom(array($from_email => $from_name)) ->setSender($from_email) ->setReturnPath($from_email) ->setTo($resume_email) ->setBcc("admin@example.com") ->setBody($email_content, 'text/html');
That should send a BCC to "admin@example.com". You can adjust the above email.
MachForm Founder
Posted 11 years ago # -
not working - any suggestions?
Posted 11 years ago # -
Works for me with the latest version 3.4
Posted 11 years ago # -
my mistake. i made the change at the wrong place. it works now - thank you
Posted 11 years ago #
Reply
You must log in to post.