Adobe Dreamweaver Forums



Last 10 THreads :         Format numbers with leading zeros (Last Post : charlie656 - Replies : 0 - Views : 1 )           »          Event listener (Last Post : lammspillning - Replies : 2 - Views : 3 )           »          action script for button (Last Post : NedWebs - Replies : 5 - Views : 10 )           »          403 error from my domain? (Last Post : Ken Ford - *ACE* - Replies : 1 - Views : 4 )           »          Adding database RDS Login Dreamweaver 8 Coldfusion 8 (Last Post : ClubbyJMC2008 - Replies : 4 - Views : 5 )           »          Looping from end of clip to middle of clip (Last Post : Gibbah - Replies : 1 - Views : 5 )           »          Help need div to expand to height of browser (Last Post : Tim G - Replies : 1 - Views : 2 )           »          how do I add a table to a preformed template that I got? (Last Post : mb007inc - Replies : 0 - Views : 1 )           »          Downloading from Flash (Last Post : NedWebs - Replies : 1 - Views : 2 )           »          Checking which button is clicked (Last Post : NedWebs - Replies : 3 - Views : 4 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Cold Fusion
 
Tags:



Reply
  #1 (permalink)  
Old 10-09-2008, 09:03 PM
StearmanDriver
 
Posts: n/a
Diggs:
Default cfmail - works locally but not when uploaded

Hi,

I'm using cfmail with form variables for the email addreses. It's so users
can send email to political candidates. Here's the code:

<cfoutput>#Form.semails#</cfoutput>,<cfoutput>#For m.hemails#</cfoutput></p>
<cfmail to="#Form.semails#,#Form.hemails#" replyto="#Form.useremail#"
failto="nosuch@sbcglobal.net" from="#Form.useremail#" subject="Keep Maine
Toxin-Free!" server="mail.nosuch.com" port="26" timeout="40"
username="none@nosuch.com" password="nosuch">
#Form.usermessage#
</cfmail>

The form submit page collects those variables and passes them as form
variables - GET. The "to" field in cfmail is populated by hidden fields that
contain session variables... they're forwarded on as those .semails and
..hemails form variables. Actual values have been replaced with "none" or
"nosuch" for security, but you can see the structure anyway.

This works when run locally, sends the emails as it should. When uploaded
exactly as is to godaddy's server, it doesn't send emails. Doesn't throw any
errors, the form results page displays as it should... but the emails just
never get sent.

I'd really appreciate any ideas...
Joe



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-09-2008, 09:21 PM
Adam Cameron
 
Posts: n/a
Diggs:
Default Re: cfmail - works locally but not when uploaded

I don't know how these shared hosting outfits work, and what access you
have to what, but here's some questions:

- have you inspected the mail logs to see if they cast any light on the
scene
- have you configured CF to tell it where the SMTP server is?
- do you need to authenticate to it, and that sort of thing?
- are the email messages failing @ the CF end (in which case they'll be in
the mail/undeliverable dir (not entirely sure that's the name of it, but
have a shufti around in the cfusion dir...), or are they getting to the
SMTP server and failing there (check the SMTP server's logs).

--
Adam
Reply With Quote
  #3 (permalink)  
Old 10-09-2008, 09:40 PM
Ian Skinner
 
Posts: n/a
Diggs:
Default Re: cfmail - works locally but not when uploaded

Adam Cameron wrote:
> I don't know how these shared hosting outfits work, and what access you
> have to what, but here's some questions:
>
> - have you inspected the mail logs to see if they cast any light on the
> scene
> - have you configured CF to tell it where the SMTP server is?
> - do you need to authenticate to it, and that sort of thing?
> - are the email messages failing @ the CF end (in which case they'll be in
> the mail/undeliverable dir (not entirely sure that's the name of it, but
> have a shufti around in the cfusion dir...), or are they getting to the
> SMTP server and failing there (check the SMTP server's logs).
>


Unfortunately all that can't be done by us users of these shared hosting
outfits. You'll need to contact GoDaddy support and ask them to take
these steps. I'm sorry about your probably experience with this.

While I use GoDaddy for my personal hosting where I care more about not
spending a great deal of money over high performance. I do not wish my
support experiences on anybody. If you know ColdFusion well and can
tell support what needs to be done, they should be able to do it. Or,
more likely, you would be able to figure out the self help tools to do
it yourself. But, unless this has changed since my last experience,
their support staff is not ColdFusion literate and are unable to guide
other, inexperienced ColdFusion users.

Saying all that. Email works just fine on my GoDaddy website and I do
not believe I had to do anything special to use it.
Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 01:27 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk