Jump to content

Topic on Extension talk:CIForms/Flow

Sending Email to the form-sender

4
Parzival1200 (talkcontribs)

Is there a way to also send the pdf-form to the user who filled the formula?


I shy away from editing the extention code directly but I think there is no other way?

Can you help me with that?

Parzival1200 (talkcontribs)

I solved it...

I added th the CIFormsSubmit.php on line 137 this:

if ($user->getEmail() !== '') {

        $mail->addAddress( $user->getEmail() );

        }

Now the Mail es sent to the user who filld the formula if he/she is loggend-in and has a email-adress in user. may be not the best solution but works

Thomas-topway-it (talkcontribs)

@Parzival1200 thank you, I will take it into account at the next release

Thomas-topway-it (talkcontribs)

@Parzival1200 added in the latest version (1.3.2) thank you!

Reply to "Sending Email to the form-sender"