Message 1 of 7
Not applicable
01-30-2013
09:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a question regarding an email script. I need to email a print view of a workspace to two individuals. I have no problem with the script for one person but if I try combine two email addresses it will not work
FIELD1 holds an email address
var email = new Email();
var emailbody= getPrintView('EMAIL');
var owner = Security.loadUser (userID);
var ownerEmail = owner.email;
email.to = item.FIELD1 +';' + ownerEmail;
email.subject = ' Estimate';
email.body = emailbody;
email.send();
This looks correct when sending this as a combined variable to a text field. The script shows no errors but does not seem to work. Thanks for any help
Solved! Go to Solution.