Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Clicking the 'copy' button only copies the 'to' address. #96

Open
yoavaviram opened this issue Dec 17, 2020 · 6 comments
Open

Clicking the 'copy' button only copies the 'to' address. #96

yoavaviram opened this issue Dec 17, 2020 · 6 comments

Comments

@yoavaviram
Copy link

yoavaviram commented Dec 17, 2020

I am the following configuration with direct render:

var window.mailgoConfig = {
  dark: true,
  details: {
    subject: false,
    body: false,
    to: false,
    cc: false,
    bcc: false,
  },
};

When I click the 'copy' button and paste the text, all I see is the recipient's email address.

@manzinello
Copy link
Owner

It the correct behaviour. The copy is referring to the recipient's email address. In the most cases the mailto links are used with only a single to: address and so mailgo copy only that. If there are CC or other I don't know which behaviour will be the best, maybe copy all the parameters would be confusing... What do you think about?

@yoavaviram
Copy link
Author

I was sure the copy refers to the body of the email...

@devashish2024
Copy link
Contributor

The issue is easy!!
You can view the syntax of the JSON - We don't need to include any , (comma) at last values in JSON.
If not sure, try this syntax.

var window.mailgoConfig = {
  dark: true,
  details: {
    subject: false,
    body: false,
    to: false,
    cc: false,
    bcc: false
  }
};

@yoavaviram
Copy link
Author

Thanks, but I don't think this is relevant to this issue.

@devashish2024
Copy link
Contributor

Sorry If it didn't solve your issue. I've show the different code, because you've added seperated commas in each items including at last that's not included commonly. That's called a code type mistake.

@devashish2024
Copy link
Contributor

Oh yeah, There's a error. Sorry for wrong answer.

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

No branches or pull requests

3 participants