X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FEmail.php;h=c3825a16bd1fa5f26e578fa15237f5083da13d25;hb=eded252a40aa48eed8ccc83aa78cc4ed422443af;hp=671e6a3edddee861d1b28621aea01f04b3960a6c;hpb=5e806ff598b2a61bc27cb6e661be9adf93bdeb47;p=friendica.git diff --git a/src/Protocol/Email.php b/src/Protocol/Email.php index 671e6a3edd..c3825a16bd 100644 --- a/src/Protocol/Email.php +++ b/src/Protocol/Email.php @@ -6,8 +6,6 @@ namespace Friendica\Protocol; use Friendica\Content\Text\HTML; -require_once 'include/html2plain.php'; - /** * @brief Email class */ @@ -330,7 +328,7 @@ class Email $body .= "Content-Transfer-Encoding: 8bit\n"; $body .= "Content-Type: text/plain; charset=utf-8; format=flowed\n\n"; - $body .= Friendica\Content\Text\HTML::toPlaintext($html)."\n"; + $body .= HTML::toPlaintext($html)."\n"; $body .= "--=_".$part."\n"; $body .= "Content-Transfer-Encoding: 8bit\n";