Thanks a zillion .... Worked Great!

At 12:01 AM 7/9/02, you wrote:
>Brian,
>i believe this CFusion_VerifyMail undocumented function no longer exist in 
>CFMX.
>
>Here's my code to replace it:
>
><cfobject action="CREATE" type="JAVA" 
>class="coldfusion.server.ServiceFactory" name="factory">
><cfscript>
>function my_cfusion_verifymail(smtp,port,timeout)
>         {
>         ms = factory.getMailSpoolService();
>         ms.setServer(smtp);
>         ms.setPort(val(port));
>         ms.setTimeout(val(timeout));
>
>         if (ms.verifyServer()) return "";
>         else return "Error";
>         }
></cfscript>
>
>Example:
>
><cfif my_cfusion_verifymail(form.smtp1,25,30) neq "">
>         The connection to the primary SMTP server failed.<br>
>         Please enter valid primary SMTP server.
></cfif>
>
>HTH,
>Rizal
>
>At 01:40 PM 7/9/2002, you wrote:
>>The CFusion_VerifyMail(server,port,timeoutInterval) function generates an 
>>error in CFMX.
>>
>>Anyone know of a suitable replacement?
>>
>>Thanks,
>>Brian
>
>
______________________________________________________________________
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