Page 1 of 1

Get user mail to send a result

Posted: 2018-12-20 22:00
by hubert
Hi,

I don't find how to get the logged user infos and especially email.

I want to send an email with an attachment after PdF generation, all works fine but only on a fixed mail for tests. :P
On operationnel program, I'll need to send the mail to the logged user mailbox ... :?

Thx !

Re: Get user mail to send a result

Posted: 2018-12-21 01:13
by peebee
$memberInfo is an associative array containing logged member's info

$memberInfo['email']: the email address of the member

See here: https://bigprof.com/appgini/help/advanc ... Info-array

See here for example usage: https://bigprof.com/appgini/help/advanc ... ter_insert

Re: Get user mail to send a result

Posted: 2018-12-21 18:01
by hubert
Oh ! I didn't check this help section ..
Thx for help, go and check it !