Commit graph

23 commits

Author SHA1 Message Date
Gavin D'souza
0ef99c3886 fix: Add signature to Communication.content if not already added
This fix adds a signature forcibly if found under the sender's
User.email_signature or default outgoing email account's signature
field.

The previous method of adding a comment into the Email didn't work since
Quill would discard comments before setting them. Adding signatures in
get_formatted_html didn't seem apt since it's used in QueueBuilder to
re-construct the Email before processing the Email Queue. This meant
that the email content that was added in the Communication record would
not be final. Now, we treat the signature as part of the Communication
content.
2022-03-02 19:41:51 +05:30
Suraj Shetty
37e54c3512 fix: Remove fallback title for brand logo 2021-01-21 15:45:00 +05:30
Suraj Shetty
927b62f39e fix: Email body spacing issue 2021-01-21 15:33:12 +05:30
Suraj Shetty
5045cdf092 fix: Get brand logo from email account 2021-01-21 11:31:13 +05:30
Suraj Shetty
e6f551d610 feat: Add with_container argument and update email style 2021-01-21 11:17:08 +05:30
Suraj Shetty
3751769c41 fix: Add alt and title to brand logo 2021-01-15 15:29:26 +05:30
Suraj Shetty
03abe4abeb fix: Get brand logo from app 2021-01-13 14:03:54 +05:30
Suraj Shetty
5e63531ba8 feat: Update standard email template to match new style 2021-01-13 10:34:16 +05:30
Faris Ansari
db22aa1c87 Email styling using email.less (#3704)
* DRY font-family declarations

* Add email.less, inline styles using premailer

* min-width 100% for mobile email clients

* Emails without header have default 100% width (like before)

* Include email.css for all apps

* Keep !important declarations

* Add test case for inlining css

* Ignore important rules in css

* minor
2017-07-19 16:21:06 +05:30
Faris Ansari
044ac18cb5 Email (#3625)
* inline images working, ability to use template name for emails

* Extract header into separate file

* Remove erp-logo

* minor refactor

* [minor] codacy

* fix for test

* Add test case for email body

* remove unused imports

* Add more tests for email body
2017-07-12 14:02:55 +05:30
Rushabh Mehta
b349c435b3 [fix] default font in email template 2016-06-08 13:28:40 +05:30
Anand Doshi
5159073720 [fix] Show CC in the footer 2015-10-23 17:23:21 +05:30
Anand Doshi
44e6c02516 [fix] Don't add emails to CC if no CC added from the UI. Fixes frappe/erpnext#4164 2015-10-14 13:20:49 +05:30
Rushabh Mehta
6d35a8c391 [fixes] [timezone] handle system timezone not set for old accounts, assume user timezone 2015-05-29 15:52:58 +05:30
Nabin Hait
4361c1121b [fix] email footer and signature 2015-05-26 12:17:33 +05:30
Rushabh Mehta
ef0c6b44f7 [email] consistent email, website branding 2015-05-26 12:17:33 +05:30
Rushabh Mehta
b39869a041 [enhancement] new email footer, like mailchip 2015-05-26 12:17:33 +05:30
Anand Doshi
986c96d01a Fixed Email Pulling 2015-03-30 20:35:52 +05:30
Anand Doshi
cd8d19248e Fixes in Email Alert system 2014-07-15 14:55:21 +05:30
Rushabh Mehta
eb70ed8735 removed inline styling and fancy formatting for emails 2014-06-19 17:59:36 +05:30
Anand Doshi
39208159a4 Communication Fixes #545, frappe/erpnext#1670 2014-05-20 16:42:58 +05:30
Anand Doshi
6475d9381a Fixed unicode issue in page.py, render pre blocks of standard email template in monospace 2014-05-12 12:30:46 +05:30
Rushabh Mehta
024ddfcc5b -webnotes +frappe 💥 2014-02-14 14:55:11 +05:30
Renamed from webnotes/templates/emails/standard.html (Browse further)