mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2025-08-19 12:04:41 +07:00
npm upgrade
This commit is contained in:
5
node_modules/nodemailer/lib/mail-composer/index.js
generated
vendored
5
node_modules/nodemailer/lib/mail-composer/index.js
generated
vendored
@ -230,9 +230,8 @@ class MailComposer {
|
||||
amp.contentType = 'text/x-amp-html; charset=utf-8';
|
||||
}
|
||||
|
||||
// only include the calendar alternative if there are no attachments
|
||||
// otherwise you might end up in a blank screen on some clients
|
||||
if (this.mail.icalEvent && !(this.mail.attachments && this.mail.attachments.length)) {
|
||||
// NB! when including attachments with a calendar alternative you might end up in a blank screen on some clients
|
||||
if (this.mail.icalEvent) {
|
||||
if (
|
||||
typeof this.mail.icalEvent === 'object' &&
|
||||
(this.mail.icalEvent.content || this.mail.icalEvent.path || this.mail.icalEvent.href || this.mail.icalEvent.raw)
|
||||
|
Reference in New Issue
Block a user