Questions tagged [cfmail]

ColdFusion tag for sending out emails.

123 questions
9
votes
8 answers

ColdFusion - Sending out a pretty email, mint style

I've used ColdFusion for sending text emails for years. I'm now interested in learning how to send those pretty emails you see from companies like Mint. Anyone know of a good ColdFusion tutorial to teach me how to make this work and not get hit by…
AnApprentice
  • 108,152
  • 195
  • 629
  • 1,012
8
votes
2 answers

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

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…
balytskyi
  • 303
  • 3
  • 10
7
votes
4 answers

How do I separate multiple email addresses in cfmail

Do I use a comma or semicolon? I can't seem to find it in the live docs. I also can't seem to find any consistency looking online as some examples use a comma while others use a semicolon. Are both acceptable?
Jason
  • 17,276
  • 23
  • 73
  • 114
7
votes
5 answers

Connection Verification Failed while attempting to verify mail setting in ColdFusion 10 administrator

I am using ColdFusion 10 in windows server 2008 R2. In administrator, i am getting connection error while verifying the mail server settings. I am using the below settings, server : smtp.gmail.com port: 465 Username : testuser@gmail.com…
7
votes
1 answer

Why can't I attach my uploaded file to an email?

I have a form with a file input: I submit the form using the ajaxForm method of the JQuery form plugin. Then, in the code to handle the post, I read and process the file. I use cfspreadsheet…
froadie
  • 79,995
  • 75
  • 166
  • 235
6
votes
1 answer

Is it possible to send email to an address that contains latin unicode characters with cfmail?

We need to be able to send an email with cfmail to an email address that contains a latin a with acute. I assume we'll eventually have to allow other Unicode characters too - a sample email address is foobár@example.com. ColdFusion throws an error…
RaeLehman
  • 1,004
  • 1
  • 7
  • 9
5
votes
2 answers

ColdFusion cfmail special characters in subject line

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.
Arasu
  • 132
  • 9
5
votes
6 answers

Changing filename of attachment in CFMail

I'm trying to use ColdFusion to send out emails containing attachments stored on our server. To manage these attachments we call them 1.jpg, 2.doc ... n.ext where n is a key in a database where we hold other information about the file such as its…
Loftx
  • 1,760
  • 4
  • 29
  • 50
5
votes
0 answers

Protecting against base64 injection attacks in cfmail

I have a REST web service that accepts a bunch of fields. These fields are going have processing and eventually become part of an email. When I am building up the email, the field called message.image will later become rc.image and it will be added…
James A Mohler
  • 11,060
  • 15
  • 46
  • 72
5
votes
4 answers

ColdFusion email - is there a way to confirm the email has been sent?

Just using the standard cfmail tag, is there a way we can confirm that the email has been sent? I tried cftry/cfcatch but that only confirms that there were no errors in processing the tag, if I put in an invalid mail server, it passes (but mail…
Tim
  • 2,667
  • 4
  • 32
  • 39
5
votes
2 answers

Coldfusion CFMAIL and sendgrid

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…
steve
  • 1,490
  • 10
  • 18
5
votes
2 answers

cfmail is not formatting css

Firstly apologies with my limited knowledge, I am just starting out in CF. So I am trying to send out an html email with cfmail when a form query is satisfied. The problem I am having is that the css I am embedding within the email head is either…
matthew
  • 377
  • 3
  • 5
  • 16
4
votes
1 answer

How do you send an email with an attachment using cfscript in CF9?

How do you do the following using cfscript? Some message goes here...
Micah
  • 1,221
  • 17
  • 42
4
votes
1 answer

Using CFMAIL tag to send emails with an image

My code is as below, there is an image above this msg.
MadushM
  • 397
  • 3
  • 17
4
votes
0 answers

Attaching and naming a file in cfmail

I have a simple cfmail with an attachment. The file on the server has one name, but I'd like to call it something else when attached to the email. I tried: That…
luke
  • 415
  • 1
  • 4
  • 14
1
2 3
8 9