File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -207,15 +207,15 @@ function onAfterInsert() {
207207 $ iconvPreferences = array ("input-charset " => $ fromCharset ,
208208 "output-charset " => "ISO-8859-1 " ,
209209 "line-length " => 76 ,
210- "line-break-chars " => "\r\ n" ,
210+ "line-break-chars " => "\n" ,
211211 "scheme " => "Q " );
212212
213213 $ welcomeFromName = $ app ->tform ->wordbook ["welcome_mail_fromname_txt " ];
214214 $ welcomeFromEmail = $ app ->tform ->wordbook ["welcome_mail_fromemail_txt " ];
215- $ mailHeaders = "MIME-Version: 1.0 " . "\r\ n" ;
216- $ mailHeaders .= "Content-type: text/plain; charset=iso-8859-1 " . "\r\ n" ;
217- $ mailHeaders .= "From: $ welcomeFromName < $ welcomeFromEmail> " . "\r\ n" ;
218- $ mailHeaders .= "Reply-To: < $ welcomeFromEmail> " . "\r\ n" ;
215+ $ mailHeaders = "MIME-Version: 1.0 " . "\n" ;
216+ $ mailHeaders .= "Content-type: text/plain; charset=iso-8859-1 " . "\n" ;
217+ $ mailHeaders .= "From: $ welcomeFromName < $ welcomeFromEmail> " . "\n" ;
218+ $ mailHeaders .= "Reply-To: < $ welcomeFromEmail> " . "\n" ;
219219 $ mailTarget = $ this ->dataRecord ["email " ];
220220 $ mailSubject = iconv_mime_encode ("trimoff " , $ app ->tform ->wordbook ["welcome_mail_subject " ], $ iconvPreferences );
221221 $ mailSubject = str_replace ("trimoff: " , "" , $ mailSubject );
You can’t perform that action at this time.
0 commit comments