- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2020 08:57 AM
Hello,
I have an email script that looks up a user's info and then adds it to the end of an email notification. The lines of info should be separated by a new line, however, when I try to do this with \n it is not working. It just adds a space between the info. How can I add a new line?
email script:
var recruiter = current.name_of_recruiter;
var recruiterEmail = current.recruiter_email;
var searchRecruiter = new GlideRecord('sys_user');
searchRecruiter.addQuery('name', recruiter);
searchRecruiter.addQuery('email', recruiterEmail);
searchRecruiter.query();
if (searchRecruiter.next()) {
var recruiterPhone = searchRecruiter.mobile_phone;
}
template.print(recruiter);
template.print('\n');
template.print(recruiterEmail);
template.print('\n');
template.print(recruiterPhone);
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2020 08:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2020 08:59 AM
Use <br>