July 19, 2008
For ColdFusion hosting try HostMySite.com. |
Home /
Groups /
ColdFusion Talk (CF-Talk)
cfmail won't send
Is there anything wrong with this? I know the code is called, but I've not been receiving the emails.daniel kessler 04/25/08 02:48 P It could be a bunch of stuff:Alan Rother 04/25/08 02:55 P 1. No, I sent mail from another applicationdaniel kessler 04/25/08 05:45 P Have you checked your junk mail folder?James Holmes 04/28/08 01:31 A you may have to get the CF server trusted by the mail serverAJ Mercer 04/28/08 01:46 A Are you seeing any messages show up in your mail spool folder?Rick Faircloth 04/25/08 03:09 P If you have access to CF Admin that try verifying the mail server first.Qasim Rasheed 04/25/08 03:15 P Step 1: Check <coldfusionroot>\Mail\Spool for *.cfmail files. If thereBrad Wood 04/25/08 02:56 P 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.daniel kessler 04/28/08 10:57 A If you do not specify an SMTP server, ColdFusion will use he default oneBrad Wood 04/28/08 11:20 A >If you do not specify an SMTP server, ColdFusion will use he default onedaniel kessler 04/28/08 01:48 P 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 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 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 ----- 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 ----- 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 ----- 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 ----- 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 ----- 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. 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 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. >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.
|
Mailing Lists
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||