This topic is locked

Event 'Simple email'

4/1/2008 5:43:07 AM
PHPRunner General questions
C
cemrunner author

Hi,

How would you go about inserting a field instead of the static email event in the simple email event after record added.

-In my case I have a an email field which is on the same row of record that I want to notify.

I'm sure this is a simple line of code.

If this is already explained in another thread please lead me to it.
thanks in advance.

Cheers

Alexey admin 4/1/2008

Hi,
just replace this line:

$email="test@test.com";

with this one:

$email=$values["EmailFieldName"];



where EmailFieldName is your actual field name.

C
cemrunner author 4/1/2008
R
revdrjim 4/7/2008

Hi,

just replace this line:

with this one:
where EmailFieldName is your actual field name.


cool, great tip. just what i was looking for. thanks!