Questions tagged [cfmail]

ColdFusion tag for sending out emails.

123 questions
4
votes
0 answers

"encrypt" and "encryptionalgorithm " not working for Coldfusion 11

There are two new attributes are added to cfmail in Coldfusion 11 named "encrypt" and "encryptionalgorithm ". But they are not working. When I am sending normal email it is successful on my local system but with encryption it fails.
Deepak Kumar Padhy
  • 4,128
  • 6
  • 43
  • 79
4
votes
1 answer

ColdFusion CFMailParam Deleting Attachment

So, yet another weird issue with ColdFusion (9 I believe I'm using). When I send an email, my attachment is being deleted from the directory!!
Sterling Archer
  • 22,070
  • 18
  • 81
  • 118
4
votes
2 answers

Send mail through cfmail with one connection

I ran into an issue where my mail server only accepts 100 connections to the server every 5 minutes. My current code loops over my database, calling cfmail for each person on the list. I suppose the problem is im opening a new connection each time I…
BiScotti
  • 63
  • 6
3
votes
1 answer

Scale an image on the fly inside

I am sending an HTML email that contains an image with cfmail. In summary the code looks like this:
Nick Petrie
  • 5,364
  • 11
  • 41
  • 50
3
votes
1 answer

this.smtpServersettings is sending mail to undelivered options instead of gmail

I want to send a email to real gmail ID's to the end users. So I used smtp.gmail.com as mail server with my own email user name & password. But if I use this.smtpServersettings in my application.cfc it's not sending a email. All the mail's are went…
Kannan.P
  • 1,263
  • 7
  • 14
3
votes
1 answer

Change filename of attachments on Coldfusion

I'm using cfmailparam to attach files to an email. I'm getting the filenames and paths from my database. Normally, the attached files have unique names, but I can get their original filenames by querying the following columns in a database…
yasint
  • 31
  • 2
3
votes
1 answer

Extending mail object in a cfc

I use the mail() object in cfscript. I want to extend that object so I can overwrite the setTo() method. Here is the cfc code I have written. component extends="com.adobe.coldfusion.mail" { public void function setTo(String recipients) { …
Sam M
  • 4,136
  • 4
  • 29
  • 42
3
votes
2 answers

Pass queried parameters to ColdFusion file multiple times?

I have an cfmail function set-up in a particular file, email_output.cfm, which requires an ID passed to it to work properly, like email_output.cfm?ID=1. I want to set up a cron job that runs through a query returning the various needed IDs to pass.…
Joe Lowery
  • 562
  • 11
  • 26
3
votes
2 answers

Show an image when using cfmail?

I'm trying to show an image when sending an email. Sending the email works, but in the image it shows blank. I know the 'src' URL is correct because I have it in other places and it shows. How can I get it to work when sending an email?
user3591637
  • 499
  • 5
  • 20
3
votes
1 answer

Can I save an email to sent folder using cfimap/cfmail?

When sending an email through our CRM system, I'd like to put a copy of the email sent in the relevant staff members Sent folder. This works no worries in Gmail/Google Apps which automatically stores emails sent through their SMTP server in the Sent…
sckd
  • 405
  • 3
  • 11
3
votes
2 answers

Why does Coldfusion not send any email if only one of them is invalid?

I have a cfmail sending out to approxiamately 8 people (dynamically). One of these addresses is incorrect and therefore the whole email is not sent out. Is there any settings in the coldfusion administrator or in the cfmail tag where this can be…
Jason
  • 17,276
  • 23
  • 73
  • 114
3
votes
2 answers

Prevent ColdFusion from sending email

I'd like to disable all email from being sent on our dev server even if server and credentials are used in the cfmail tag. I'd like the messages to go into the spool as undeliverable so that we can read them. This is on windows. EDIT - why? We…
J.T.
  • 2,606
  • 15
  • 31
2
votes
2 answers

delay between entering and email and when the email is sent

I have a huge delay when sending email (1-2 hours) using cfmail. Is there a setting in the Coldfusion Admin where this can be adjusted, or does the speed of the email delivery depend on many factors? Any tips would be greatly appreciated.
redconservatory
  • 21,438
  • 40
  • 120
  • 189
2
votes
3 answers

ColdFusion Try Catch on loop through mail function

I've got a list of email addresses that an email is sent to. The mail function loops through the list from the database but if it encounters a malformed email address, it halts and breaks out of the loop. I've tried using try/catch to catch the…
i-CONICA
  • 2,361
  • 9
  • 30
  • 45
2
votes
4 answers

How can I attach a file to an email from a url?

I'm sending an email using the cfmail tag, and trying to attach a PDF file from a URL: Body of the…
froadie
  • 79,995
  • 75
  • 166
  • 235
1
2
3
8 9