House of Fusion
Home of the ColdFusion Community
Hostmysite VPS Hosting

Search cf-talk

July 19, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition

For ColdFusion hosting try HostMySite.com.
Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

cfmail won't send

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
daniel kessler
04/25/2008 02:48 PM

Is there anything wrong with this?  I know the code is called, but I've not been receiving the emails. <cfmail     TO = "dan@umd.edu"     FROM = "vg@umd.edu"     REPLYTO = "vg@umd.edu"     SUBJECT = "Expenditure Request Received"     TIMEOUT = "30"     SERVER = "mail.umd.edu">We will respond within 1 working day.     If there is a problem, contact Vanessa Greer at (301) 405-2113.          Your request number is #get_id.id#.          Thank you.   </cfmail> thanks. daniel

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Alan Rother
04/25/2008 02:55 PM

It could be a bunch of stuff: 1. Your mail server may not exist (not likely) 2. You may need to pass credentials to your mail server (legitimate username and password) 3. The timeout may be too short, just get rid of it for testing. Do you have access to the webserver where CF is running? If so, log in and check the mail spool to make sure that the email is being generated and is getting to the spool. The spool is here: CFUSIONFOLDER\Mail\Spool There is also a folder is files undeliverable emails named Undelivr It is possible your CF server isnt sending any email, check and see if there is a bunch built up in there. If you have access to the CF Administrator, log in and enable Mail Logging. Then try it a bunch and check the Mail log files to see if an error is being generated. Those are the typical problems HTH =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
daniel kessler
04/25/2008 05:45 PM

1.  No, I sent mail from another application 2. No. 3. okay, will give it a shot. I don't have access to the cfserver.  It's shared hosting at the U.  Since the other application worked, I'll start over and use it's cfmail block to try again. And it did help.  It made me check the other application to assure that email was fine.  I'll transfer info over one piece at a time to see where I goofed. thanks. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
James Holmes
04/28/2008 01:31 AM

Have you checked your junk mail folder? On Sat, Apr 26, 2008 at 5:45 AM, daniel kessler <danielk@umd.edu> wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
AJ Mercer
04/28/2008 01:46 AM

you may have to get the CF server trusted by the mail server ALLOW RELAY Your mail administrator should know what these means On Mon, Apr 28, 2008 at 1:31 PM, James Holmes <james.holmes@gmail.com> wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rick Faircloth
04/25/2008 03:09 PM

Are you seeing any messages show up in your mail spool folder? Any error messages in the CF Admin logs? Rick > Is there anything wrong with this?  I know the code is called, but I've not been receiving the emails. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Qasim Rasheed
04/25/2008 03:15 PM

If you have access to CF Admin that try verifying the mail server first. On Fri, Apr 25, 2008 at 3:08 PM, Rick Faircloth <Rick@whitestonemedia.com> wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Brad Wood
04/25/2008 02:56 PM

Step 1:  Check <coldfusionroot>\Mail\Spool for *.cfmail files.  If there are files in the spool not being processed, then your mail spooler might not be running. Step 2:  Check the following log file <coldfusionroot>\logs\mailsent.log and see if the E-mails are encountering errors or sending successfully. If the logs show the mails are being sent, then it may be a problem with your receiving mail server or client. ~Brad Is there anything wrong with this?  I know the code is called, but I've not been receiving the emails.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
daniel kessler
04/28/2008 10:57 AM

alright, I found the problem element.  If I include  SERVER = "mail.umd.edu", then it doesn't work.  Remove it and I receive my emails.  I guess it's assumed or something else is assumed and this incorrectly overrides it. So this works: <cfmail     TO = "#the_email#" FROM = "Dean's Business Office<v1@umd.edu>" SUBJECT = "Expenditure Request Received" TIMEOUT = "90">We will respond within 1 working day. </cfmail> thank you for all the replies. daniel

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Brad Wood
04/28/2008 11:20 AM

If you do not specify an SMTP server, ColdFusion will use he default one entered in ColdFusion Administrator.  Do you have access to the Administrator? ~Brad alright, I found the problem element.  If I include  SERVER = "mail.umd.edu", then it doesn't work.  Remove it and I receive my emails.  I guess it's assumed or something else is assumed and this incorrectly overrides it.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
daniel kessler
04/28/2008 01:48 PM

>If you do not specify an SMTP server, ColdFusion will use he default one >entered in ColdFusion Administrator.  Do you have access to the >Administrator? I do not.  It would be so useful though.


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists