Get user mail to send a result

Got something cool to share with AppGini users? Feel free to post it here!
Post Reply
hubert
Veteran Member
Posts: 50
Joined: 2018-12-06 22:32

Get user mail to send a result

Post by hubert » 2018-12-20 22:00

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 !

peebee
AppGini Super Hero
AppGini Super Hero
Posts: 352
Joined: 2013-03-21 04:37

Re: Get user mail to send a result

Post by peebee » 2018-12-21 01:13

$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

hubert
Veteran Member
Posts: 50
Joined: 2018-12-06 22:32

Re: Get user mail to send a result

Post by hubert » 2018-12-21 18:01

Oh ! I didn't check this help section ..
Thx for help, go and check it !

Post Reply