Skip to content

Commit

Permalink
Extended CONF.smtp configuration by adding name option.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Oct 28, 2024
1 parent 83b1154 commit c56efce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ function unlink(arr, callback) {
} else
msg.to(email);

msg.from(F.config.mail_from || F.config.smtp.from || F.config.smtp.user, F.config.mail_from_name);
msg.from(F.config.mail_from || F.config.smtp.from || F.config.smtp.user, F.config.mail_from_name || F.config.smtp.name);
callback && msg.callback(callback);

if (reply)
Expand Down

0 comments on commit c56efce

Please sign in to comment.