|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-06-14 08:47 UTC] bt at weberg dot de
[2004-06-14 09:03 UTC] bt at weberg dot de
[2004-06-14 09:14 UTC] magnus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 18:00:01 2025 UTC |
Description: ------------ I thought that the addresses passed to sendmail where escaped. It seems not to be. I have a problem with an email-receipient who gave me an address with an "&" in it an I got an error from the local shell-interpreter. The shell could not find the program... Reproduce code: --------------- Create a testscript with something like <?php mail("test&script@my.domain.de", "Error, or what?", "..."); ?> Expected result: ---------------- Sending the mail... Actual result: -------------- sh: line 1: script@my.domain.de: command not found can't close /usr/sbin/sendmail