Basically i need to do a manual notification, so im using php mail().
I want to include {screen_name} in the body of the email, but it seems that neither stage of php parsing will cause ee to parse the variable.
I tried
- directly embedding {screen_name} into the body.
- setting a php variable first, then embedding the php var in the body
- putting the php notification in an template embed and passing over an embed variable… and repeating the above steps.
In all cases, the variable isnt on the email, but will render on the template.
I figure im misunderstanding exactly how the tag parsing works, but could do with a kick in the right direction, any ideas?
[Mod Edit: Moved to the How to forum]