Well, can I conclude that the problem is that the Mediawiki submit a UTF-8 mail address. I refered the database of my mediawiki, and the mail address is stored in UTF-8.
2006/8/16, Platonides Platonides@gmail.com:
"liu haokai" wrote:
A email can be sent through the following script, sure, the mail address has been replaced by an existing one:
<?php // The message $message = "Line 1\nLine 2\nLine 3"; // In case any of our lines are larger than 70 characters, we should use wordwrap() $message = wordwrap($message, 70); // Send mail('caffinated@example.com', 'My Subject', $message); ?>
I wonder is the problem related to the UTF-8 email address?
Mail addresses shouldn't be utf-8. As SMTP protocol is 7-bit ascii (unless the server has 8bitmime extension, which i think only applies for the content), a utf-8 email with non us-ascii chars (those which fall outside the 7-bit) could be rejected by the server, and probably should, as it has no mean of knowing if the next server is going to accept this protocol violation, and as the smtp specification says the user part of email shouldn't be touched, i wouldn't accept it.
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l