- Fri Jun 08, 2018 3:33 pm
#814716
Hi there, I've generate an outputdocument that is uploaded by the actors. Then I want to send an email to other person with that outputdocument attached;
The template is like this (rich text):
"Hi @#reqUserName,
Bla bla blal
@=USER_LOGGED
@=planDeEstDoc"
the trigger:
"$aUser = userInfo(@@USER_LOGGED);
$to = $aUser['mail'];
PMFSendMessage(@@APPLICATION, '---@gmail.com', $to, $to, '', 'Subject', 'template.html','', @=planDeEstDoc);
"
Neither variables are sent, on @=USER_LOGGED I only get an binary code, and the @= planDeEstDoc return an ID that isn't from the document output.
If someone could give me some help I would appreciate, cheers
The template is like this (rich text):
"Hi @#reqUserName,
Bla bla blal
@=USER_LOGGED
@=planDeEstDoc"
the trigger:
"$aUser = userInfo(@@USER_LOGGED);
$to = $aUser['mail'];
PMFSendMessage(@@APPLICATION, '---@gmail.com', $to, $to, '', 'Subject', 'template.html','', @=planDeEstDoc);
"
Neither variables are sent, on @=USER_LOGGED I only get an binary code, and the @= planDeEstDoc return an ID that isn't from the document output.
If someone could give me some help I would appreciate, cheers