Hi, i need to send a group of invoices as html-type attachment to a specific email address in a batch proccess through a cfm page.
the invoice index table looks like this :
Invoice No Email
and the URL for the invoice form is
i use CFMAIL, but the option MIMEattach can't execute the URL with params
MIMEAttach=
[/code]"
</cfmail>
[/code]
I really apreciate any kind of help
the invoice index table looks like this :
Invoice No Email
Code:
10000000 hgdsh@mailserver.com
10000001 asdff@mailserver.com
10000002 hhytre@mailserver.com
10000003 vxcbcvxb@mailserver.com
Code:
[URL unfurl="true"]http://cfserver/invoice.cfm?Invoice=10000000[/URL]
i use CFMAIL, but the option MIMEattach can't execute the URL with params
Code:
<cfquery name="EmailList" datasource="something">
select invoice, client_email from Invoices
</cfquery>
<cfmail
query="EmailList"
from="noreplay@email.com"
to="#client_email#"
subject="Your Invoice">
Code:
"[URL unfurl="true"]http://cfserver/invoice.cfm?Invoice=#Invoice#[/URL]
</cfmail>
[/code]
I really apreciate any kind of help