Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

cfmail replyto versus cfmailparam reply-to

Guest
Jul 26, 2012 Jul 26, 2012

Can anyone tell me the difference (if there is one) between using the replyTo attribute in the <cfmail> tag versus using <cfmailparam name="reply-to" value="reply@reply.com" />? Thanks!

1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 26, 2012 Jul 26, 2012

Off the top of my head I can't.  If I were sufficiently curious, I would first read the documentation for each tag.  Then I might run something with each tag to observe the behaviour.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 29, 2012 Jul 29, 2012
LATEST

I suspect there aren't any differences: I imagine the replyto was added to <cfmail> for expediency, given it'll be a reasonably common param to wish to set.

The quickest way to check fro yourself is to send two emails:

  1. with the replyto address in the <cfmail> tag;
  2. with the replyto address as a param.

Inspect the source of the email messages when they arrive and observe there's no difference.

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources