Smart Mailer ASP Support Product Page

Attachment parameters in error

Reported 05 Jan 2011 09:29:23
1
has this problem
05 Jan 2011 09:29:23 Flemming Aunel posted:
I'm using version 1.0.11 for ASP with DMX4

I added an attachment by chosing the "Create own list". I selected the asp file and added 2 parameters - looked fine so fare.

However when I looked at the code generated I found the following:
' Attachments from list
sm1.setAttList ",aw_sales_pdf.asp?compid=<%=(rsBasket.Fields.Item("CompID").Value)%>
&saleid=<%=(rsBasket.Fields.Item("SaleID").Value)%>"
sm1.sendMail "one"
%>


Since the code generated by the SmarterMail guide is already between "<% %>" - the code should have looked like this:
' Attachments from list
sm1.setAttList ",aw_sales_pdf.asp?compid="&(rsBasket.Fields.Item("CompID").Value)&"
&saleid="&(rsBasket.Fields.Item("SaleID").Value)
sm1.sendMail "one"
%>


When I correct the code according to the above I and returns into the SmaterMail Guide - the "Create own list" looks "not ok"

Hope you are able to recreate a simular setup - an provide a solution.

Replies

Replied 05 Jan 2011 10:56:01
05 Jan 2011 10:56:01 Miroslav Zografski replied:
Hello Flemming,

We will check this.Thank you for the notice.

Regards,

Reply to this topic