- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
If I just give a generic script first:
var vEmail = "email@address.com";
var vSubject = "A Subject for your email";
var vBody = "Put your body message here...";
event.target.app.mailMsg({
bUI: true,
cTo: vEmail,
cSubject: vSubject,
cMsg: vBody
});
In your script you are building the subject line string within the mailMsg script. I would be inclined to move this out to where you are declaring the variable. You also have +" after the EmployeeName.rawValue. This will cause the script to fail.
You are also checking field values and declaring variables for the subject and body, but don't seem to be using them.
Niall
Views
Replies
0 Likes
Total Likes