line breaks are added to PHP mail
I have done a certain PHP application and it frequently sends mails using php default mail function.
In most cases it works fine. However occassionally line breaks are applied to message body of mail being sent. Thus any plain text with a line break is rendered with a line break. When same happens to a link, that links are not working.
For example take this link,
It sometimes become,
The text "Files" sometimes being output as,
If someone has a similar experience and knowledge on fixing, any help from them are highly appreciated.
Post some snippet of the code, have this issue before. Have you used PHP_EOL to fix end of the line on cross-platforms?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)