Re: cfusion_verifymail error in CFMX
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: > >class="coldfusion.server.ServiceFactory" name="factory"> > >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"; > } > > >Example: > > > The connection to the primary SMTP server failed. > Please enter valid primary SMTP server. > > >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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: cfusion_verifymail error in CFMX
Brian, i believe this CFusion_VerifyMail undocumented function no longer exist in CFMX. Here's my code to replace it: 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"; } Example: The connection to the primary SMTP server failed. Please enter valid primary SMTP server. 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
RE: cfusion_verifymail error in CFMX
There's hexvalidemail (I think it's called). > -Original Message- > From: Brian Scandale [mailto:[EMAIL PROTECTED]] > Sent: mardi 9 juillet 2002 18:40 > To: CF-Talk > Subject: cfusion_verifymail error in CFMX > > > 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
RE: cfusion_verifymail error in CFMX
That looks like it is an undocumented function in CF, do not rely on these ever working in CFMX! -Original Message- From: Brian Scandale [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 9 July 2002 4:40 PM To: CF-Talk Subject: cfusion_verifymail error in CFMX 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
cfusion_verifymail error in CFMX
The CFusion_VerifyMail(server,port,timeoutInterval) function generates an error in CFMX. Anyone know of a suitable replacement? Thanks, Brian __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.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