'Course, not all mail servers will react one way or another to a partial
message to a given user -- for sysadmins that are super-security conscious,
they'll always turn that option off as it can be used by hackers to probe
for accounts. It's far more effective to just email a user something they
can click to activate an account or something like that.

        -- jon

-----Original Message-----
From: mark brinkworth [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 10:52 AM
To: CF-Talk
Subject: Re: CFusion_VerifyMail()


You could query DNS records for the name of the mailserver as well.

>I just played with it a bit.  The problem is, you need to know what the
>exact name for the mail server is; i.e., you can't just peek at port 25 on
>www.mydomain.com, whose mail server might be mail.mydomain.com, and expect
>a
>positive response.  Sure, you could guess the name of the mail server
>address for a given domain easily enough by trying mail.mydomain.com,
>pop.mydaomian.com, etc., but if the mail server admin has used a
>"nonstandard" (and probably more secure) name for his mail server, you will
>not be able to successfully verify the connection.
>
>If you know the mail server address, though, it should work fine.
>
>Pete
>
>
>----- Original Message -----
>From: "Dan O'Keefe" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Tuesday, July 30, 2002 9:58 AM
>Subject: CFusion_VerifyMail()
>
>
> > I saw this function in an earlier thread, and found this info on
> > FusionCube's site. Has anyone ever used this?
> >
> > -----------------------------------
> > Verifying SMTP Server Accessibility
> > Want to check that an SMTP server is accessible before using it to send
> > mail? Use the undocumented CFusion_VerifyMail() function which takes
>three
> > parameters - the server to be checked (IP address or DNS name), the
>port,
> > and a timeout interval. CFusion_VerifyMail() returns a string that may
>be
> > inspected - if it is empty then the verification was successful,
>otherwise
> > it will contain an error message.
> >
> > Dan
> >
> > -----------------------------------------
> > Dan O'Keefe
> > TriPoint Technologies
> > 954.501.3115
> >
> >
> >
>

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to