Rejection email is not being sent being sent
| From: | Jesus M. Castagnetto | Date: | Tue, 13 Feb 2001 18:25:14 +0000 |
| Subject: | Rejection email is not being sent being sent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-11008@lists.php.net to get a copy of this message | ||
Seems like the emails from rejecting a not are not
being sent.
Has the mail system been change in the server at
php.net?
BTW, tried to upload a test script to check what the
problem could be, and apparently I cannot longer make
commits to the "phpweb" tree, the error message is:
**** Access denied: Insufficient Karma
(jmcastagnetto|phpweb/include)
cvs server: Pre-commit check failed
cvs [server aborted]: correct above errors first!
cvs commit: saving log message in /tmp/cvs851fhH
Because of that I am including the diff for the
include/email-validation.inc file, and content of the
include/check_email_func.php file, run the latter with
"?debug=1" if any of my email addresses fails (the
ones w/ jcastagnetto, jmcastagnetto and jesusmc in
them):
Index: email-validation.inc
===================================================================
RCS file:
/repository/phpweb/include/email-validation.inc,v
retrieving revision 1.2
diff -r1.2 email-validation.inc
156c156
< function is_emailable_address( $email ) {
---
> function is_emailable_address( $email, $debug=0 ) {
162c162
< //$validator->debug=1;
---
> $validator->debug=$debug;
[include/check_email_func.php]
<?php
require "email_validation.inc";
if (!$debug)
$debug = 0;
$test_add = array (
"wrong-email-address@lists.php.net","jmcastagnetto@yahoo.com",
"some-wrong@asdas.com",
"jcastagnetto-NO-SPAM@yahoo.com",
"jcastagnetto@NoSpam-yahoo.com",
"jmcastagnetto@chek2.com",
"jcastagnetto-i-hate-spam@NOSPAMyahoo.com",
"jesusmc@scripps.edu",
"asasasd324324@php.net",
"jcastagnetto-delete-this-@yahoo.com",
"wrong-address-with@@@@-remove_me-and-some-i-hate_SPAM-stuff");
while (list(,$v) = each($test_add)) {
echo "The address: $v (".clean_AntiSpam($v).")
is";
if (!is_emailable_address(clean_AntiSPAM($v),
$debug))
echo " not";
echo " valid\n<br>";
}
?>
=====
--- Jesus M. Castagnetto <jmcastagnetto@php.net>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/