We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thank you for making yagmail, it is awesome.
By this code,
gdp_dict = {'Country1': ['United States', 'China', 'Japan', 'Germany', 'India'], 'GDP1': ['$21.44 trillion', '$14.14 trillion', '$5.15 trillion', '$3.86 trillion', '$2.94 trillion'], 'Country2': ['United States', 'China', 'Japan', 'Germany', 'India'], 'GDP2': ['$21.44 trillion', '$14.14 trillion', '$5.15 trillion', '$3.86 trillion', '$2.94 trillion'], 'Country3': ['United States', 'China', 'Japan', 'Germany', 'India'], 'GDP3': ['$21.44 trillion', '$14.14 trillion', '$5.15 trillion', '$3.86 trillion', '$2.94 trillion'], 'Country4': ['United States', 'China', 'Japan', 'Germany', 'India'], 'GDP4': ['$21.44 trillion', '$14.14 trillion', '$5.15 trillion', '$3.86 trillion', '$2.94 trillion'], 'Country5': ['United States', 'China', 'Japan', 'Germany', 'India'], 'GDP5': ['$21.44 trillion', '$14.14 trillion', '$5.15 trillion', '$3.86 trillion', '$2.94 trillion'], 'Country6': ['United States', 'China', 'Japan', 'Germany', 'India'], 'GDP6': ['$21.44 trillion', '$14.14 trillion', '$5.15 trillion', '$3.86 trillion', '$2.94 trillion'], } df = pd.DataFrame(gdp_dict) html = build_table(df, color='blue_light') yag.send(to=address, subject=subject, contents=[html])
I did received mail, but two issues spotted
first, there is large margin between table and title, looks like a large empty area, don't know why
second, how to make text middle in the table, and don not wrap text if it is long
thanks
The text was updated successfully, but these errors were encountered:
I'm getting exactly the same problem with HTML tables. For example, if I send this HTML: `
It arrives like this:
Sorry, something went wrong.
No branches or pull requests
Thank you for making yagmail, it is awesome.
By this code,
I did received mail, but two issues spotted
first, there is large margin between table and title, looks like a large empty area, don't know why
second, how to make text middle in the table, and don not wrap text if it is long
thanks
The text was updated successfully, but these errors were encountered: