Jul 05, 2009, 09:14 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search via SMF or Google: modx forums all of modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: eform not sending mail...why?  (Read 681 times)
0 Members and 1 Guest are viewing this topic.
lucasvm
Jr. Member
*
Posts: 8


« on: Dec 03, 2008, 07:48 PM »

Hello

 I got eform on my modx website, and its not sending any mail, can anybody help me?, this is my code:

Code:
[!eForm? &formid=`chunk_frmSignUp` &subject=`Subject` &to=`mail1@mail1.com, mai2@mail2.com, mail3@mail3.com` &ccsender=`1` &tpl=`chunk_frmSignUp` &report=`chunkReport_frmSignUp` &eformOnBeforeMailSent=`encodeFields` &gotoid=`47` !]

and here the html form:

 
Code:
<form method="post" action="[~[*id*]~]" id="chunk_frmSignUp">
 
<fieldset>
<h3> Sign up</h3>
 
<input name="formid" type="hidden" value="chunk_frmSignUp" />
 
<label for="cfName">Name:
<p><input name="name" id="cfName" class="text" type="text" eform=" Name::1:" />*</p></label>......

any ideas?Huh
Logged
BobRay
Coding Team
*
Posts: 3,177



WWW
« Reply #1 on: Dec 03, 2008, 11:39 PM »

Many hosts have the mail() function turned off, in which case you'd have to use eForm's SMTP option or some other mechanism.
Logged

MODx info for newbies: http://bobsguides.com/MODx.html
lucasvm
Jr. Member
*
Posts: 8


« Reply #2 on: Dec 04, 2008, 01:27 AM »

i have another eform in the same website and its working...
Logged
dev_cw
Testers
*
Posts: 4,025



WWW
« Reply #3 on: Dec 04, 2008, 05:22 AM »

Quote
&eformOnBeforeMailSent=`encodeFields`

What is this doing? Could this function you are calling be causing the error?
Logged

Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

Something is happening here, but you don't know what it is.
Do you, Mr. Jones?  -  [bob dylan]
lucasvm
Jr. Member
*
Posts: 8


« Reply #4 on: Dec 04, 2008, 11:16 AM »

that was the problem!, now it works! thanks a lot! you save my job really hahaha!!!,  Wink
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!