For perl look at

http://www.cpan.org/modules/by-category/19_Mail_and_Usenet_News/Mail/Mail-Ch
eckUser-1.02.readme

As for php you would need to open a socket connection.. My advice would be
to use the perl module and call a perl script from php.

Regards

Jon

--
Jon Farmer  տլ
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]

-----Original Message-----
From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]]
Sent: 28 August 2001 15:26
To: 'Php-General (E-Mail)
Subject: AW: [PHP] PHP/Sendmail interaction : how to get rid of wrong
emails


any hint where to find the perl mod or some php-code that
contacts mailservers like you described?

> -----Ursprngliche Nachricht-----
> Von: Jon Farmer [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 28. August 2001 16:14
> An: Sebastian Stadtlich; 'Php-General (E-Mail)
> Betreff: RE: [PHP] PHP/Sendmail interaction : how to get rid of wrong
> emails
>
>
> Well on submission of the email you could try contacting
> their mail server
> and pretend to a have a mail for them using SMTP.
>
> If you get a "recipient ok" or similar message.. ,thre is a
> code for it,
> then at least the server accepts mail for that address. You
> might be better
> off croning this rather than have the user wait on a http request.
> Alternatively there is a perl mod that does this as well.
>
> Secondly you could write a script that downloads the mail
> from root and
> deletes out the database anything that bounces. You could
> even delete these
> messages from the root account once done
>
> HTH
>
> Regards
>
> Jon
>
>
> --
> Jon Farmer  տլ
> Systems Programmer, Entanet www.enta.net
> Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
> PGP Key available, send blank email to [EMAIL PROTECTED]
>
> -----Original Message-----
> From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]]
> Sent: 28 August 2001 15:08
> To: 'Php-General (E-Mail)
> Subject: [PHP] PHP/Sendmail interaction : how to get rid of
> wrong emails
>
>
> Hi all
>
> I'm facing the Problem that lots of my users are too stupid to write
> their email correct.
> When i mail them with php a return email is send to me by their
> mailserver, which
> results in LOTS of mail for the root account.
> Can i get sendmail to put the returned emails in a file? so that i can
> check that file with php
> and delete those mails from my DB ?
> or is there a way to check the email when they enter it in a form
> (online versus their mailserver)?
> i already check for wrong email syntax, but that does not solve the
> problem...
>
> Sebastian
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to