Email Problem

jparr021 15 Nov, 2007
Hey guys, great component!! It has helped us greatly! However, we are having a problem emailing the results of the form to the administrator's email account:
Here is the URL to the form itself:
http://nwvma.org/index.php?option=com_chronocontact&chronoformname=RSVP

Email Problem image 1
Here is the image URL since you cannot see it very well:
http://students.uwsp.edu/jparr021/untitled-1.jpg

Here is the debug:

_POST: Array ( [evnt_title] => November 15, 2007 - Digital Radiography [frstname] => Jeff [lastname] => Parr [orgname] => clinic [email] => [email]jparr021@gmail.com[/email] )
Case 1: Use table layout
E-mail: 'Yes' custom
Email not sent

Here is the code:
<TD ALIGN=LEFT VALIGN=TOP WIDTH=535>

  <b>MEETING RSVP - <?php
global $my;

echo $my->username;
?></b></font>

      <FONT SIZE=3 COLOR="#000000" FACE="HELVETICA">
      <P><FONT SIZE=2 COLOR="#000000" FACE="HELVETICA">
      <P>Please fill in the fields below to RSVP for
	  an NWVMA event.Only one meeting can be registered for at a time; if you'd like to register for two or more meetings, please submit information for the first and return to this page to register for any additional meetings.If you are responding on behalf of someone other than yourself, please complete the form with <i>their</i> information.

<form action="" method="post">

<table>
<!--<tr>
<TD WIDTH=175 ALIGN=LEFT VALIGN=TOP><b>Event Date</b> (mm/dd/yy)</TD>
<TD WIDTH=125  ALIGN=LEFT VALIGN=TOP><input type=text name=date maxlength=500 size=50></td>
</tr>
-->
<!--TEST ROW-->
<tr>
<TD WIDTH=175 ALIGN=LEFT VALIGN=TOP><b>Event</b></TD>
<TD WIDTH=325  ALIGN=LEFT VALIGN=TOP>

<input type=radio name="evnt_title" value="November 15, 2007 - Digital Radiography">  Digital Radiography; (November 15th, 2007)
<br></br>
<input type=radio name="evnt_title" value="Test Meeting">  TBA; (January 17th, 2008)
<br></br>
<input type=radio name="evnt_title" value="Test Meeting">  TBA; (March 20th, 2008)
<br></br>
<input type=radio name="evnt_title" value="Test Meeting">  TBA; (May 15th, 2008)

<tr><td> </td></tr>

<tr>
<TD WIDTH=175 ALIGN=LEFT VALIGN=TOP><b>First Name</b></TD>
<TD WIDTH=125 ALIGN=LEFT VALIGN=TOP><input type=text name="frstname" maxlength=1000 size=50></TD>
</tr>

<tr>
<TD WIDTH=175 ALIGN=LEFT VALIGN=TOP><b>Last Name</b></TD>
<TD WIDTH=125 ALIGN=LEFT VALIGN=TOP><input type=text name="lastname" maxlength=500 size=50></TD>
</tr>

<tr>
<TD WIDTH=175 ALIGN=LEFT VALIGN=TOP><b>Clinic</b></TD>
<TD WIDTH=125 ALIGN=LEFT VALIGN=TOP><input type=text name="orgname" maxlength=500 size=50></TD>
</tr>

<tr>
<TD WIDTH=175 ALIGN=LEFT VALIGN=TOP><b>E-mail Address</b><br /></TD>
<TD WIDTH=125 ALIGN=LEFT VALIGN=TOP><input type=text name="email" maxlength=500 size=50></TD>
</tr>
</table>

<table>

<tr><td> </td><td></td></tr>

<tr><TD COLSPAN=2 WIDTH=535 ALIGN=LEFT VALIGN=TOP>
<P>Click "Send my RSVP" to complete the registration process.  

<br /><br />

We look forward to seeing you at the meeting!
<br /><br />


    <tr><td colspan=2><input type=submit value="Send my RSVP"></td></tr>
  </table>

</form>

  <!--END-->
Any help would be greatly appreciated! Thanks!

Edited to add tags<br><br>Post edited by: GreyHead, at: 2007/11/14 21:52
GreyHead 15 Nov, 2007
Hi jparr021,

The info on the general tab looks good. The debug info seems to be missing the whole email though so it looks as though something is failing before that.

You do seem to have <form> tags in the html and ChronoForms writes it's own so these should come out please. There are also a lot of quotes missing round the attribute values in the <input> tags - I don't think these cause the failure but they may trip up ChronoForms code parser.

Bob
jparr021 15 Nov, 2007
Well, I took the form tags out, and put quotes around the inputs, and still get the same error. Here is the the updated code:
<TD ALIGN=LEFT VALIGN=TOP WIDTH=535>

  <b>MEETING RSVP - <?php
global $my;

echo $my->username;
?></b></font>

      <FONT SIZE=3 COLOR="#000000" FACE="HELVETICA">
      <P><FONT SIZE=2 COLOR="#000000" FACE="HELVETICA">
      <P>Please fill in the fields below to RSVP for
	  an NWVMA event.Only one meeting can be registered for at a time; if you'd like to register for two or more meetings, please submit information for the first and return to this page to register for any additional meetings.If you are responding on behalf of someone other than yourself, please complete the form with <i>their</i> information.



<table>
<!--<tr>
<TD WIDTH=175 ALIGN=LEFT VALIGN=TOP><b>Event Date</b> (mm/dd/yy)</TD>
<TD WIDTH=125  ALIGN=LEFT VALIGN=TOP><input type="text" name="date" maxlength="500" size="50"></td>
</tr>
-->
<!--TEST ROW-->
<tr>
<TD WIDTH=175 ALIGN=LEFT VALIGN=TOP><b>Event</b></TD>
<TD WIDTH=325  ALIGN=LEFT VALIGN=TOP>

<input type="radio" name="evnt_title" value="November 15, 2007 - Digital Radiography">  Digital Radiography; (November 15th, 2007)
<br></br>
<input type="radio" name="evnt_title" value="Test Meeting">  TBA; (January 17th, 2008)
<br></br>
<input type="radio" name="evnt_title" value="Test Meeting">  TBA; (March 20th, 2008)
<br></br>
<input type="radio" name="evnt_title" value="Test Meeting">  TBA; (May 15th, 2008)

<tr><td> </td></tr>

<tr>
<TD WIDTH=175 ALIGN=LEFT VALIGN=TOP><b>First Name</b></TD>
<TD WIDTH=125 ALIGN=LEFT VALIGN=TOP><input type="text" name="frstname" maxlength=1000 size=50></TD>
</tr>

<tr>
<TD WIDTH=175 ALIGN=LEFT VALIGN=TOP><b>Last Name</b></TD>
<TD WIDTH=125 ALIGN=LEFT VALIGN=TOP><input type="text" name="lastname" maxlength=500 size=50></TD>
</tr>

<tr>
<TD WIDTH=175 ALIGN=LEFT VALIGN=TOP><b>Clinic</b></TD>
<TD WIDTH=125 ALIGN=LEFT VALIGN=TOP><input type="text" name="orgname" maxlength=500 size=50></TD>
</tr>

<tr>
<TD WIDTH=175 ALIGN=LEFT VALIGN=TOP><b>E-mail Address</b><br /></TD>
<TD WIDTH=125 ALIGN=LEFT VALIGN=TOP><input type="text" name="email" maxlength=500 size=50></TD>
</tr>
</table>

<table>

<tr><td> </td><td></td></tr>

<tr><TD COLSPAN=2 WIDTH=535 ALIGN=LEFT VALIGN=TOP>
<P>Click "Send my RSVP" to complete the registration process.  

<br /><br />

We look forward to seeing you at the meeting!
<br /><br />


    <tr><td colspan=2><input type="submit" value="Send my RSVP"></td></tr>
  </table>



  <!--END-->
And the debug:

_POST: Array ( [evnt_title] => November 15, 2007 - Digital Radiography [frstname] => Jeff [lastname] => Parr [orgname] => clinic [email] => [email]jparr021@gmail.com[/email] )
Case 1: Use table layout
E-mail: 'Yes' custom
Email not sent

Thanks again Bob!

Edited to add tags.<br><br>Post edited by: GreyHead, at: 2007/11/15 00:14
jparr021 15 Nov, 2007
Could it have something to do with me not having the Chrono Mambot not being installed?
GreyHead 15 Nov, 2007
Hi jparr021,

Shouldn't be anything to do with the mambot - unless you are using the form embedded in a content page. Anyhow it's best to debug in standalone form before switching to the mambot.

The good news is that I pasted your latest html into a test form here and the email is sent OK.

So the problem seems to lie with the mailer on your site.

Q1. Can you send emails successfully from your site as it is at present - do new subscriber emails arrive? Can you email a content page using the print icon?

Q2. What are the settings in your site Global Config | Mail tab?

Bob
jparr021 15 Nov, 2007
Well we tried to send an email from Joomla, and successfully emailed a content page, So I think the problem may lie in the SMTP Authentication? I know nothing about this particular feature in Joomla! Here is a screenshot of the global config Mail page:



Here is a larger version of the screenshot:
http://students.uwsp.edu/jparr021/untitled-2.jpg

Thanks again!
jparr021 15 Nov, 2007
Hey Bob,

Well I did some reading on some other pages, and found that if I cleared the Special Fields (I had my email in the email field) that it works!

Thank you so much for a wonderful component!

Jeff
GreyHead 15 Nov, 2007
Hi Jeff,

Glad you got it fixed.

Note to self: add more info to the debug code so we can spot these earlier.

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger