|
|
|
@ -31,10 +31,7 @@ const getAbstract = (longtext) => {
|
|
|
|
|
|
|
|
|
|
const generateQuoteContent = (mailData) => `<br><hr><p><b><strong >From: </strong></b><span >${((mailData.info?.MAI_From || '').replace(/</g,'<').replace(/>/g,'>'))} </span></p><p><b><strong >Sent: </strong></b><span >${mailData.info?.MAI_SendDate || ''}</span></p><p><b><strong >To: </strong></b><span >${(mailData.info?.MAI_To || '').replace(/</g,'<').replace(/>/g,'>')}</span></p><p><b><strong >Subject: </strong></b><span >${mailData.info?.MAI_Subject || ''}</span></p><p>${mailData.info?.MAI_ContentType === 'text/html' ? mailData.content : mailData.content.replace(/\r\n/g, '<br>')}</p>`;
|
|
|
|
|
|
|
|
|
|
const generateMailContent = (mailData) => `<br><br>
|
|
|
|
|
<p>
|
|
|
|
|
${mailData.content}
|
|
|
|
|
</p>`
|
|
|
|
|
const generateMailContent = (mailData) => `<br><br><p>${mailData.content}</p>`
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @property {string} fromEmail - 发件人邮箱
|
|
|
|
|