-
Notifications
You must be signed in to change notification settings - Fork 2
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
Added more models to Email.js #8
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ module.exports = { | |
}, | ||
{ | ||
"fieldname": "emailAddress", | ||
"label": "Email Address", | ||
"label": "from", | ||
"fieldtype": "Data", | ||
"required": 1 | ||
}, | ||
|
@@ -38,6 +38,38 @@ module.exports = { | |
"label": "Port", | ||
"fieldtype": "Int", | ||
"required": 1 | ||
} | ||
}, | ||
{ | ||
"fieldname": "emailAddress", | ||
"label": "to", | ||
"fieldtype": "Data", | ||
"required": 1 | ||
}, | ||
{ | ||
"fieldname": "emailAddress", | ||
"label": "cc", | ||
"fieldtype": "Data", | ||
"required": 1 | ||
}, | ||
{ | ||
"fieldname": "emailAddress", | ||
"label": "bcc", | ||
"fieldtype": "Data", | ||
"required": 1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In case if someone doesn't want to provide any |
||
}, | ||
{ | ||
"fieldname": "Subject", | ||
"label": "Subject", | ||
"fieldtype" : "Text", | ||
"required": 0 | ||
}, | ||
{ | ||
"fieldname": "Content", | ||
"label": "", | ||
"fieldtype" : "Text", | ||
"required": 0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is body, so I'm not sure whether a mail can be send without a body. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Blank mails are allowed @meets2tarun . However, for blank subject, we might have to add a warning/prompt later "Send mail without any subject", but maybe we'll deal with that while adding interface |
||
} | ||
|
||
|
||
] | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If someone doesn't want to provide a
cc
address.