Re: Send "Bcc" copies with emails?
Have you tried since the username and password features were added to MvSMTP?
Have you tried since the username and password features were added to MvSMTP?
// <mvt:assign name="g.replyto" value="'Reply-To: <' $ trim(g.cu_email) $ '>'" /> // <mvt:do file="g.module_library_utilities" name="g.email_sent" value="SendEmail(g.to_email,g.from_email,'',g.subject,g.replyto,g.message)" />
<MvFUNCTION NAME = "v9_SendEmail" PARAMETERS = "email var" STANDARDOUTPUTLEVEL = ""> <MvASSIGN NAME = "l.to" VALUE = "{ l.email:to }"> <MvASSIGN NAME = "l.from" VALUE = "{ l.email:from }"> <MvASSIGN NAME = "l.cc" VALUE = "{ l.email:cc }"> <MvASSIGN NAME = "l.bcc" VALUE = "{ l.email:bcc }"> <MvASSIGN NAME = "l.subject" VALUE = "{ l.email:subject }"> <MvASSIGN NAME = "l.headers" VALUE = "{ l.email:headers }"> <MvASSIGN NAME = "l.message" VALUE = "{ l.email:message }"> <MvASSIGN NAME = "l.mailhost" VALUE = "{ g.Domain:mailhost }">
// <mvt:assign name="g.replyto" value="'Reply-To: <' $ trim(g.cu_email) $ '>'" /> // <mvt:do file="g.module_library_utilities" name="g.email_sent" value="SendEmail(g.to_email,g.from_email,'',g.subject,g.replyto,g.message)" />
<MvCOMMENT> | | Send the email | </MvCOMMENT> <MvASSIGN NAME = "l.email:from" VALUE = "{ trim( l.from ) }"> <MvASSIGN NAME = "l.email:to" VALUE = "{ trim( l.to ) }"> <MvASSIGN NAME = "l.email:cc" VALUE = "{ trim( l.cc ) }"> <MvASSIGN NAME = "l.email:bcc" VALUE = "{ trim( l.bcc ) }"> <MvASSIGN NAME = "l.email:subject" VALUE = "{ trim( l.subject ) }"> <MvASSIGN NAME = "l.mime_type" VALUE = "{ trim( l.mime_type ) }"> <MvASSIGN NAME = "l.eol" VALUE = "{ asciichar( 13 ) $ asciichar( 10 ) }"> <MvIF EXPR = "{ NOT l.email:send_b64 }"> <MvASSIGN NAME = "l.null" VALUE = "{ [ g.Module_Library_Utilities ].StartMimeEmail( l.mime_email ) }"> <MvASSIGN NAME = "l.null" VALUE = "{ [ g.Module_Library_Utilities ].GenerateBodyMIME( l.mime_email, l.mime_type, '', '', l.message ) }"> <MvIF EXPR = "{ NOT ISNULL l.reply_to }"> <MvASSIGN NAME = "l.mime_email:headers" VALUE = "{ 'Reply-To: ' $ l.reply_to $ l.eol $ l.mime_email:headers }"> </MvIF> <MvFUNCTIONRETURN VALUE = "{ [ g.Module_Library_Utilities ].v9_SendMimeEmail( l.mime_email, l.email ) }"> </MvIF> <MvASSIGN NAME = "l.base64_message" VALUE = "{ crypto_base64_encode( l.message ) }"> <MvASSIGN NAME = "l.base64_message_len" VALUE = "{ len_var( l.base64_message ) }"> <MvCAPTURE VARIABLE = "l.email:headers"> <MvIF EXPR = "{ NOT ISNULL l.reply_to }"> <MvEVAL EXPR = "Reply-To: "><MvEVAL EXPR = "{ l.reply_to }"> <MvEVAL EXPR = "{ l.eol }"> </MvIF> <MvEVAL EXPR = "Mime-Version: 1.0"> <MvEVAL EXPR = "{ l.eol }"> <MvEVAL EXPR = "Content-Type: "><MvEVAL EXPR = "{ l.mime_type }"> <MvEVAL EXPR = "{ l.eol }"> <MvEVAL EXPR = "Content-Transfer-Encoding: base64"> </MvCAPTURE> <MvCAPTURE VARIABLE = "l.email:message"><MvEVAL EXPR = "{ [ g.Module_Library_Utilities ].Chunk_Split_Output( l.base64_message, l.base64_message_len, 72, l.eol ) }"></MvCAPTURE> <MvFUNCTIONRETURN VALUE = "{ [ g.Module_Library_Utilities ].v9_SendEmail( l.email ) }">
But it apparently just concatenates those addresses onto the "To" header;
Comment