![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
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 |
| Sponsored Links |
|
|||
|
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 |
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise