Solved

CFMail Message-Id

Posted on 2006-11-10
6
502 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
What You Need to Know when Searching for a Webhost Provider
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

728 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