Solved

CFMail Message-Id

Posted on 2006-11-10
6
495 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
use of cookies and regulations 1 103
Web site: http forwards to https causing 301 errors - SEO issue? 26 59
htaccess block all countries but the US 4 41
Problem to copy file 14 53
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

733 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