Solved

CFMail Message-Id

Posted on 2006-11-10
6
484 Views
Last Modified: 2013-12-20
Using CFMAIL, ColdFusion generates a Message-Id in the form xxxx@machineName, where machineName is the local name of the CF machine sending the email.
It needs to be a Fully Qualified Domain Name (e.g. machineName.domainName.com).
How can it be changed from ColdFusion? (Using CFMAILPARAM Message-Id does not work)

Thanks,
0
Comment
Question by:jmoniatte
  • 2
6 Comments
 
LVL 12

Expert Comment

by:mmc98dl1
ID: 17920678
This is what we use at work. Seems to do the trick - when you say doesnt work can you qualify that please?

<cfmailparam name="Message-Id" value="<#createUUID()#@yourdomain.com.au>">
0
 

Author Comment

by:jmoniatte
ID: 17921590
Thanks for the reply. Yes, I can!

The Message-Id param inserted that way appears while the email is in the ColdFusion mail spool, but is overwritten by JavaMail as soon as the spool is emptied.

The new Message-Id value is in the form: xxxxx.javamail.System@MachineName. Where "System" is the account that runs the CF service and MachineName is the local name of the machine.

It is confirmed by many posters on various sites. Have CF send you an email and check the Message-Id header. It will be different from what you have above.

Thanks again.
0
 
LVL 12

Accepted Solution

by:
mmc98dl1 earned 250 total points
ID: 18025356
ok I have had a look around because we do this and havent been able to get it to work since you put me on to it. I think the answer is that with cfmail you cant.
0
 
LVL 25

Assisted Solution

by:dgrafx
dgrafx earned 250 total points
ID: 18035813
You can't set the message-ID - the coldfusion server does this.
Even though as you've discovered by experimenting, you can set it temporarily until mail goes out.
 
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IIS 8.5 2 51
LAMP problem identifier tool ? 9 110
I starting with php 12 117
Help with a redirect in web.config file 8 29
In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now