Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vakeesan committed Oct 17, 2020
1 parent d69b41a commit b102a1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions classes/email/resend.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ public function resend(){
do_action( 'caldera_forms_pre_email_resend', $this->form, $this->entry_id, $this->get_data() );
$this->remove_magic_hooks();
$this->form['mailer'][ 'recipients' ] = Caldera_Forms::do_magic_tags($this->form['mailer'][ 'recipients' ], $this->entry_id, $this->data );
$this->form['mailer'][ 'sender_name' ] = Caldera_Forms::do_magic_tags($this->form['mailer'][ 'sender_name' ], $this->entry_id, $this->data );
$this->form['mailer'][ 'reply_to' ] = Caldera_Forms::do_magic_tags($this->form['mailer'][ 'reply_to' ], $this->entry_id, $this->data );
$this->form['mailer'][ 'cc_to' ] = Caldera_Forms::do_magic_tags($this->form['mailer'][ 'cc_to' ], $this->entry_id, $this->data );
$this->form['mailer'][ 'bcc_to' ] = Caldera_Forms::do_magic_tags($this->form['mailer'][ 'bcc_to' ], $this->entry_id, $this->data );
$this->add_magic_hooks();
Caldera_Forms_Save_Final::do_mailer( $this->form, $this->entry_id, $this->get_data() );
$this->remove_magic_hooks();
Expand Down

0 comments on commit b102a1d

Please sign in to comment.