3
我使用sendgrid api与nodejs和由于某种原因电子邮件发送但不添加新行。我已经使用过,但也没有运气。任何想法有什么不对?Sendgrid不发送文本到新行
这里是我使用
var email = {
to: '[email protected]',
from: '[email protected]',
subject: 'Membership',
text: 'Please view in html',
html: 'Hello there!,</br>\n\n' +
'Please click on the following link, or paste this into your browser to complete the process:\n\n' +
'Welcome and thanks for joining.\n\n' +
'</br>Your details we have are\n\n' +
'</br> Name: ' + user + '\n\n' + '</br> Telephone number: ' + number + '</br> email: ' + email + '</br>'
};