<cfmail to="ad...@amstech.com" bcc="ha...@amstech.com"
from="ama...@amstech.com" subject="#company# - Dues Invoice" type="html">
Here company is dynamic value from query output:
So email subject should like this: Infineon - Finn Felsberg c/o LSL GmbH - Dues Invoice but email subject displaying as: Infineon - Finn Felsberg
I try ed below way:
<cfset sub1 = "#COMPANY#">
<cfset sub2 = "- Dues Invoice">
<cfset sub = sub1 & sub2>
<cfmail to="ad...@amstech.com" bcc="ha...@amstech.com"
from="ama...@amstech.com" subject="#company# - Dues Invoice" type="html">
Still subject displaying as: Infineon - Finn Felsberg
How we can fix the issue??
Regards,
Hari.
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
If you don't have time, add a request to the Railo Server wiki to-do page at https://github.com/getrailo/railo/wiki/Todo
---
You received this message because you are subscribed to the Google Groups "Railo" group.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Hari,
just guessing, and please ignore if you've already done that: But if you already did what jean said and still are having the same issue: did you already check the query-output through a raw sql-client? because it might also be a sql-statement returning wrong records.
best wishes
You should be using the query attribute of cfmail and NOT nesting the query inside of a cfoutput. With the code written the way you have it, you are getting exactly the behavior I would expect to see.
Sent from my Samsung Galaxy SII
--
<cfset newcompany = #replace(company,"/", chr(8260))#>
<cfset newsubject = "#newcompany# - Dues Invoice">
Regards,
Hari.