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 ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists