Table Name: tabEmail Alert
| Sr | Fieldname | Type | Label | Options |
|---|---|---|---|---|
| 1 | enabled |
Check | Enabled | |
| 2 | filters |
Section Break | Filters | |
| 3 | subject |
Data |
Subject
To add dynamic subject, use jinja tags like |
|
| 4 | document_type |
Link | Document Type | DocType |
| 5 | event |
Select | Send Alert On |
New Save Submit Cancel Days After Days Before Value Change |
| 6 | date_changed |
Select |
Reference Date
Send alert if date matches this field's value |
|
| 7 | days_in_advance |
Int |
Days Before or After
Send days before or after the reference date |
|
| 8 | value_changed |
Select |
Value Changed
Send alert if this field's value changes |
|
| 9 | condition |
Data |
Condition
Optional: The alert will be sent if this expression is true |
|
| 10 | column_break_6 |
Column Break | ||
| 11 | html_7 |
HTML | ||
| 12 | column_break_5 |
Section Break | Recipients | |
| 13 | recipients |
Table | Recipients | Email Alert Recipient |
| 14 | message_sb |
Section Break | Message | |
| 15 | message |
Text | Message | |
| 16 | attach_print |
Check | Attach Print | |
| 17 | message_examples |
HTML | Message Examples | |
| 18 | view_properties |
Button | View Properties (via Customize Form) |
Inherits from frappe.model.document.Document
frappe.email.doctype.email_alert.email_alert.evaluate_alert (doc, alert, event)
No docs
frappe.email.doctype.email_alert.email_alert.trigger_daily_alerts ()
No docs
frappe.email.doctype.email_alert.email_alert.trigger_email_alerts (doc, method=None)
No docs