Hi C'Fers,
I am trying to use the aspcomponent given by www.serverobject.com I written
the following code in my page
It is really driving crazy, The code is as follows,
<cfobject TYPE="COM" ACTION="CREATE" CLASS="SMTPsvg.Mailer" name="objMail">
<cfset success=0>
<cfset objMail.FromName="Aenugula Nagaraj">
<cfset objMail.FromAddress="[EMAIL PROTECTED]">
<cfset objMail.RemoteHost="10.0.0.95">
<cfset objMail.AddRecipient("Aenugula Nagaraj","[EMAIL PROTECTED]")>
<cfset objMail.subject="This is test Email">
<cfset objMail.bodyText=MailBody>
<cfset objMail.CharSet=2>
<cfset objMail.ConfirmRead=true>
<cfset objMail.ContentType="">
<cfset objMail.CustomCharSet="ISO-2022">
<cfset objMail.DateTime="Fri, 02 May 1997 10:53:49 -0500">
<cfset objMail.Encoding=1>
<cfset objMail.ReturnReceipt=true>
<cfset objMail.SMTPLog ="c:\smtplog.txt">
<cfset success=objMail.Sendmail>
CWebException: Error: Attempting to call a method as a PROPERTYGET
assignment. For methods with no arguments please use empty parenthesis !
Explanation:
unknown error while executing a tag.
I tried same using CDONTS. I simply worked out with out any problem.
Any Help is really appreciated.
With Regards
Nagaraj.A
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
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