Hello,

I'm in big trouble with <cfmail>.

I have a textare to enter a eMail. This eMail is sent to the recipient with the following code:

<cfmail to="#email#"
            from="#absender_name# <#absender_email#>"
             subject="#betreff#"
            server="mail.sdsolutions.de"
            Port="25">
<CFMAILPARAM NAME="content-type" VALUE ='multipart/alternative; boundary="----=_NextPart_000_000C_01C314E8.6E94A770"'>
<CFMAILPARAM NAME="charset" VALUE ="UTF-8">
<cfmailparam name="Reply-To" value="[EMAIL PROTECTED]">
<cfmailparam name="MIME-Version" value="1.0">

This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C314E8.6E94A770
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable


#form.email_text#


------=_NextPart_000_000C_01C314E8.6E94A770
Content-Type: text/html; charset=iso-8859-1

#form.email_html#



------=_NextPart_000_000C_01C314E8.6E94A770--
</cfmail>

That works fine on CF 5.
But now we updated to CF MX and the code doesn't work any more.

I get the following error message:

      An exception occurred when setting up mail server parameters.  
      This exception was caused by: java.lang.NullPointerException.  
        
      Der Fehler trat auf in '\mail_send.cfm: line 105

105 : #email_html#
106 :
107 :
Is it impossible to use parameters within the <cfmail> Tag? Or is there somethng wrong in my code?Greetz,Bastian

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to