Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line 100 - Doesn't work when "space" is included. #505

Open
CapitaLinkSolutions opened this issue Dec 9, 2024 · 4 comments
Open

Line 100 - Doesn't work when "space" is included. #505

CapitaLinkSolutions opened this issue Dec 9, 2024 · 4 comments
Assignees

Comments

@CapitaLinkSolutions
Copy link

I'm having issues with trying to add a space between words for Line 100.
image

I do not have coding background so this is very complex to me.

Please help me out.

I've tried using &nbsp but it turned out like this
image

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
image
CapitaLinkSolutions will work fine
image

I'm trying to have it look like "CapitaLink Solutions" in recipients' email inbox.

@vinay-google
Copy link
Contributor

Please post the whole snippet.

@CapitaLinkSolutions
Copy link
Author

Please post the whole snippet.

are these what you were looking for?

image image

@vinay-google
Copy link
Contributor

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'
  });
}

@Moldr4n
Copy link

Moldr4n commented Dec 19, 2024

@vinay-google, I replace which line with this code?
Captura de tela 2024-12-19 110246

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants