Hi,
Hope someone can help....
I need a way of sending an email from within a server-side JavaScript without having to reference fields on the form? I need to be able to dynamically change the email Recipient, Subject and Body and send the email directly from within server-side script. I'm currently using an email resource with the various properties mapped to fields on the form but would like to utilise this resource from a shared function across many forms without having to include fields on the form (or the resource if it's possible).
Thanks in advance.
Sending dynamic email without mapping fields
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 68
- Joined: Wed Aug 15, 2012 1:22 pm
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
This post shows how to send an email without using a resource. I think it contains much more code than it needs to, but should work ok http://forum.ebasetech.com/forum/viewtopic.php?t=776
0 x
-
- Ebase User
- Posts: 68
- Joined: Wed Aug 15, 2012 1:22 pm
Who is online
Users browsing this forum: No registered users and 4 guests