Page 1 of 1

Transmit PHP variable in EMail

Posted: Sun Sep 02, 2018 6:11 pm
by mexman
Hi Pablo:
I have the following request:
I would like to send the answer Email of a Form containing the value of a PHP variable e.g.
  • Values submitted from web site form:
    <string, contents of a PHP variable>
    IP Address : 188.195.223.84
Is that possible with QnEWB onboard options or do I ned to include a self-made form?
Regards
Michael

Re: Transmit PHP variable in EMail

Posted: Sun Sep 02, 2018 8:02 pm
by Pablo
I have not tried it myself, but this may work:

In the message field use this value:

Code: Select all

Values submitted from web site form:' . $variable . '
This will add the variable to the message. You can also use the variable in the middle of the text:

Code: Select all

Values submitted from ' . $variable . ' form:

Re: Transmit PHP variable in EMail

Posted: Mon Sep 03, 2018 8:28 pm
by mexman
Thanks Pablo,
I found a completely different solution for the whole problem, but I will try that!

Michael