cfmail

ColdFusion mail sending capacity

北城余情 提交于 2019-12-13 18:01:51
问题 I am currently working on a newsletter application which needs to sent around 20K mails in a single shot. I feel, ColdFusion mail sending capacity will not be suitable for this. I don’t have any metrics with me to prove this. I searched around in web about this, I found there are lot of complains about this kind of bulk mail sending process using built in CFMAIL. Few of them are, Java heap size error IOException while sending message Mail Spool Lock Mail Spool Timeout We are using Adobe

Coldfusion CFMAIL and sendgrid

强颜欢笑 提交于 2019-12-12 07:27:24
问题 I have 2 clients on the same server that I host, that both send email through sendgrid.com (both have their own accounts). I was looking at reports on sendgrid and noticed that categories from "client 1" were showing up in a report for "client 2". I spent extensive time on the phone with sendgrid and they are telling me that a handful of emails 65 from a batch of 3000 for "client 1" show as being sent through "client 2"'s authenticated user. In my scripting, I use coldfusion cfmail and I

Force cfmail tag to send from a specfic server IP address

耗尽温柔 提交于 2019-12-11 05:46:08
问题 Here is my server set up: Web Server: ColdFusion 10 u10 64-bit, Windows Server 2008 R2, multiple public/private IP addresses. Mail server: Is a different Windows 2008 R2 server. Keeping it simple for this question, I have two web sites (this is just theory; using private IPs in example). Site 1: 10.10.10.1 Site 2: 10.10.10.2 I'm sending mail using the cfmail tag from Site 1 (10.10.10.1), but when I look at the mail headers of the sent emails and the SMTP log on the mail server, it says that

Why is CFMAIL ignoring all but the first row of a query when using CFScript?

…衆ロ難τιáo~ 提交于 2019-12-08 04:43:06
问题 I'm trying to use CFmail in a CFScript CFC. I want CFMail to iterate through a query, and change values based on the query contents. It does this just fine, as long as the query object only has 1 row. If it has multiple rows (e.g. 5 rows), it will send 5 emails, but each email will contain the values from the first query row. I've tried a few different things. See below: Query Obj: Name | Email | Number ---------------------------------- John | john@foo.com | 12 Bill | bill@bar.com | 42 Ann |

How do I force evaluation of a cfif stored in a string?

≯℡__Kan透↙ 提交于 2019-12-04 05:41:19
问题 I am trying to store coldfusion code in a database to be used for the subject of a cfmail. The code stored is as follows: "RE: <cfif myData.general.legalName NEQ """"> {{dotlegalname}}<cfelse>{{docketLegalName}}</cfif>, DOT## {{dot}}, Docket ##(s) {{docketString}}" When I retrieve string from the database, I use cfsavecontent to attempt to evaluate it. <cfsavecontent variable="subject"> <cfoutput>#myData.email.subject#</cfoutput> </cfsavecontent> I also tried <cfsavecontent variable="subject"

How do I force evaluation of a cfif stored in a string?

二次信任 提交于 2019-12-02 09:58:40
I am trying to store coldfusion code in a database to be used for the subject of a cfmail. The code stored is as follows: "RE: <cfif myData.general.legalName NEQ """"> {{dotlegalname}}<cfelse>{{docketLegalName}}</cfif>, DOT## {{dot}}, Docket ##(s) {{docketString}}" When I retrieve string from the database, I use cfsavecontent to attempt to evaluate it. <cfsavecontent variable="subject"> <cfoutput>#myData.email.subject#</cfoutput> </cfsavecontent> I also tried <cfsavecontent variable="subject"> <cfoutput>#evaluate(myData.email.subject)#</cfoutput> </cfsavecontent> And then I replace all the {{

Coldfusion CFMAIL and sendgrid

寵の児 提交于 2019-12-01 17:55:11
I have 2 clients on the same server that I host, that both send email through sendgrid.com (both have their own accounts). I was looking at reports on sendgrid and noticed that categories from "client 1" were showing up in a report for "client 2". I spent extensive time on the phone with sendgrid and they are telling me that a handful of emails 65 from a batch of 3000 for "client 1" show as being sent through "client 2"'s authenticated user. In my scripting, I use coldfusion cfmail and I specify the SMTP address, username and password for that client into the tag. A possible theory takes into

How to send email to recipient with umlauts in domain name?

半腔热情 提交于 2019-12-01 16:43:28
In my app I have to send email to recipient who has umlauts in domain name. Example: "test@äöü.test.com" I'm using cfmail tag and I'm getting such error: "invalid definition for attribute to at tag mail" "Invalid E-Mail Address definition (test@äöü.test.com)" Is there any way to send email to such recipients in coldfusion? There is even a easier solution! Why not use Oracles built in class: http://download.oracle.com/javase/6/docs/api/java/net/IDN.html#toUnicode(java.lang.String ) Then you only have to do this (example shows from punycode to Unicode): <cfset strUrl = "xn--land-poa.se" /> <!---

ColdFusion cfmail special characters in subject line

百般思念 提交于 2019-11-30 20:58:57
Special characters in the subject line of the mail getting converted in to question marks or boxes. I have tried to wrap the dynamic string of the subject line in URLEncodedFormat , however ended up in vain. <cfset strSubject= URLEncodedFormat(s)> <cfmail from="xxxxx@xx.com" to="yyyyyyy@yyy.com" subject="#strSubject#" type="html" > #testText# </cfmail> Prabhu Thomas Assuming the special characters are unicode charactes, you will have to encode the string to a base64 format and use that in the subject line. Like this, <cfset strSubject="Demande d’chantillons supplémentaires"> <cfset strSubject

ColdFusion cfmail special characters in subject line

柔情痞子 提交于 2019-11-30 05:26:58
问题 Special characters in the subject line of the mail getting converted in to question marks or boxes. I have tried to wrap the dynamic string of the subject line in URLEncodedFormat , however ended up in vain. <cfset strSubject= URLEncodedFormat(s)> <cfmail from="xxxxx@xx.com" to="yyyyyyy@yyy.com" subject="#strSubject#" type="html" > #testText# </cfmail> 回答1: Assuming the special characters are unicode charactes, you will have to encode the string to a base64 format and use that in the subject