Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #19081

Re: PHP mail() turns text with special characters into attachments

From Jeroen Belleman <jeroen@nospam.please>
Newsgroups comp.lang.php
Subject Re: PHP mail() turns text with special characters into attachments
Date 2022-08-31 15:58 +0200
Organization Aioe.org NNTP Server
Message-ID <tenper$1p5o$1@gioia.aioe.org> (permalink)
References <teni8h$dar$1@gioia.aioe.org> <jn93uiFpvo0U1@mid.individual.net>

Show all headers | View raw


On 2022-08-31 14:53, Arno Welzel wrote:
> Jeroen Belleman, 2022-08-31 13:56:
>
>> I use the PHP mail() function to send emails to a special interest group.
>> Some of these mails are in English, no problems, and some of them are in
>> French. For the latter, the message body text gets turned into an
>> attachment, and the mail body remains empty. Apparently, it's the
>> presence of accented characters that triggers this.
>
> Why an attachement?[...]

I realize my wording was ambiguous. I *don't* want the French text
to become an attachment.

I haven't yet worked out the right sequence of incantations, but at
least you have given me a lead. Thanks.

> [...]
>
> Please update to at least PHP 7.4 or 8.0 and make sure your code works
> with that version (there are some breaking changes in PHP 7/8 compared
> to 5):

That's outside my jurisdiction.

Again, thanks.

Jeroen Belleman

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PHP mail() turns text with special characters into attachments Jeroen Belleman <jeroen@nospam.please> - 2022-08-31 13:56 +0200
  Re: PHP mail() turns text with special characters into attachments Arno Welzel <usenet@arnowelzel.de> - 2022-08-31 14:53 +0200
    Re: PHP mail() turns text with special characters into attachments Jeroen Belleman <jeroen@nospam.please> - 2022-08-31 15:58 +0200
      Re: PHP mail() turns text with special characters into attachments Arno Welzel <usenet@arnowelzel.de> - 2022-09-02 09:22 +0200
  Re: PHP mail() turns text with special characters into attachments Arne Vajhøj <arne@vajhoej.dk> - 2022-08-31 19:54 -0400
    Re: PHP mail() turns text with special characters into attachments Jeroen Belleman <jeroen@nospam.please> - 2022-09-01 14:24 +0200
  Re: PHP mail() turns text with special characters into attachments "He, who travels time to time" <he1983912@aol.com> - 2022-09-22 07:11 -0700

csiph-web