School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,215 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,572 people online right now. Registration is fast and FREE... Join Now!




Duplicate emails in cold fusion cfmail

 

Duplicate emails in cold fusion cfmail

brigotti

23 Oct, 2009 - 10:55 AM
Post #1

New D.I.C Head
*

Joined: 23 Oct, 2009
Posts: 1

We are having an issue with coldfusion cfmail sending duplicate emails after a customer makes a purchase on our website. The confirmation email is sent to the customer and we are bcc'd on the email.

We are getting 2 identical emails for every order, and based on the message source, we can see that they are being sent a few seconds apart. The server logs, however, only show 1 email being sent. Please help us figure out this problem!

Here's the code that is being used:

CODE
<cfmail server="#request.mailServer#" to="#getOrderThankyou.Email#" from="#getSettings.emailAC#" subject="#request.companyAbbr# - Online Order Confirmation" bcc="#getSettings.emailAC#" type="html" spoolenable="no">


User is offlineProfile CardPM
+Quote Post


ecuscotty

RE: Duplicate Emails In Cold Fusion Cfmail

23 Oct, 2009 - 11:09 AM
Post #2

New D.I.C Head
*

Joined: 14 Oct, 2009
Posts: 40



Thanked: 5 times
My Contributions
Hello,

Is it possible that the #getOrderThankyou.Email# variable has the same address in it twice?
User is offlineProfile CardPM
+Quote Post

xheartonfire43x

RE: Duplicate Emails In Cold Fusion Cfmail

23 Oct, 2009 - 12:27 PM
Post #3

D.I.C Regular
***

Joined: 22 Dec, 2008
Posts: 267



Thanked: 2 times
My Contributions
QUOTE(ecuscotty @ 23 Oct, 2009 - 11:09 AM) *

Hello,

Is it possible that the #getOrderThankyou.Email# variable has the same address in it twice?


If CF logs show 1 email going out and you have 2 emails then it is probably an issue with you mail server.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 10:03PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month