@@ -1043,15 +1043,15 @@ class localServer {
10431043 host : Net . isIP ( imapData . smtpServer ) ? null : imapData . smtpServer ,
10441044 hostname : Net . isIP ( imapData . smtpServer ) ? imapData . smtpServer : null ,
10451045 port : imapData . smtpPortNumber ,
1046- secure : / o u t l o o k \. c o m $ | m e \. c o m $ / . test ( imapData . smtpServer ) ? false : imapData . smtpSsl ,
1046+ secure : / \. o u t l o o k \. c o m $ | \. m e \. c o m $ / . test ( imapData . smtpServer ) ? false : imapData . smtpSsl ,
10471047 auth : {
10481048 user : imapData . smtpUserName ,
10491049 pass : imapData . smtpUserPassword
10501050 } ,
10511051 connectionTimeout : ( 1000 * 15 ) . toString ( ) ,
10521052 tls : {
10531053 rejectUnauthorized : imapData . smtpIgnoreCertificate ,
1054- ciphers : / o u t l o o k \. c o m $ | m e \. c o m $ / . test ( imapData . smtpServer ) ? 'SSLv3' : null
1054+ ciphers : / \. o u t l o o k \. c o m $ | \. m e \. c o m $ / . test ( imapData . smtpServer ) ? 'SSLv3' : null
10551055 }
10561056 } ;
10571057 saveLog ( JSON . stringify ( option ) ) ;
@@ -1074,15 +1074,15 @@ class localServer {
10741074 host : Net . isIP ( imapData . smtpServer ) ? null : imapData . smtpServer ,
10751075 hostname : Net . isIP ( imapData . smtpServer ) ? imapData . smtpServer : null ,
10761076 port : imapData . smtpPortNumber ,
1077- secure : / o u t l o o k \. c o m $ | m e \. c o m $ / . test ( imapData . smtpServer ) ? false : imapData . smtpSsl ,
1077+ secure : / \. o u t l o o k \. c o m $ | \. m e \. c o m $ / . test ( imapData . smtpServer ) ? false : imapData . smtpSsl ,
10781078 auth : {
10791079 user : imapData . smtpUserName ,
10801080 pass : imapData . smtpUserPassword
10811081 } ,
10821082 connectionTimeout : ( 1000 * 15 ) . toString ( ) ,
10831083 tls : {
10841084 rejectUnauthorized : imapData . smtpIgnoreCertificate ,
1085- ciphers : / o u t l o o k \. c o m $ | m e \. c o m $ / . test ( imapData . smtpServer ) ? 'SSLv3' : null
1085+ ciphers : / \. o u t l o o k \. c o m $ | \. m e \. c o m $ / . test ( imapData . smtpServer ) ? 'SSLv3' : null
10861086 }
10871087 } ;
10881088 const transporter = Nodemailer . createTransport ( option ) ;
0 commit comments