apps-script-samples
apps-script-samples copied to clipboard
Line 100 - Doesn't work when "space" is included.
I'm having issues with trying to add a space between words for Line 100.
I do not have coding background so this is very complex to me.
Please help me out.
I've tried using   but it turned out like this
Having a "space" in between words will cause Line 100 to not work.
Line 100 will work fine without "space"
Example: CapitaLink Solutions will cause Line 100 to not work
CapitaLinkSolutions will work fine
I'm trying to have it look like "CapitaLink Solutions" in recipients' email inbox.
Please post the whole snippet.
Please post the whole snippet.
are these what you were looking for?
Try this simple script. Replace <some email>.
function main() {
GmailApp.sendEmail('<some email>', 'Test', null, {
htmlBody: '<h1>HTML Body</h1>',
name: 'Testing Name with Space'
});
}
@vinay-google, I replace which line with this code?
GmailApp.sendEmail(row[RECIPIENT_COL], msgObj.subject, msgObj.text); you can replace it with this