ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yury Levdansky <avilink@tut.by>
To: community@altlinux.ru
Subject: [Comm] Проблемы с отправкой почты с помощью php-скрипта
Date: Fri, 29 Oct 2004 12:35:30 +0300
Message-ID: <41820EE2.3070909@tut.by> (raw)


При отправке почты с помощью скрипта на PHP (почта с данными из формы) 
с помощью функции mail сообщение перекодируется в UTF-8 и затем
кодируется в BASE64. Хотя в дополнительной строке с параметрами для
функции mail прямо говорится, что "Content-Type: text/plain;
charset=windows-1251". Фрагмент заголовка и начала тела письма
приводится ниже.


>>======================================================================
>  
>
Subject: ???????? ???????????? ?????????????????? "??????????
????????????"
From: pupkin@gde-to.com
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1251
Status: RO
Content-Length: 1050
Lines: 17

Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: BASE64

w4TDpcOyw6DDq8OoIMOnw6DDqsOgw6fDoDoKIC0gw4TDoMOyw6Agw6LDusO............
ICAzMCDDrsOqw7LDv8Ohw7DDvCAyMDA0CiAtIMOKw67Dq8Oow7fDpcOxw7L............
....................................................

>>======================================================================
>  
>

Есть большое подозрение, что это мутит именно php, а не sendmail,
поскольку при отправке почты из скрипта на Perl-е такой лажи нет.



-- 
____________
С уважением, 
Левданский Юрий



             reply	other threads:[~2004-10-29  9:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-29  9:35 Yury Levdansky [this message]
2004-10-29  9:57 ` Ivan Fedorov
2004-10-29 10:54   ` Yury Levdansky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41820EE2.3070909@tut.by \
    --to=avilink@tut.by \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git