mail() [function.mail]

themajiks 23 Nov, 2007
Hi. I have installed the chronoforms v2.3.6 and am using joomla1.0.3 stable version. I have created a simple form in dreamweaver and pasted it inside html. but when i press the send button, following error message appears. Please help.
--------------------------
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\joomla1013\modules\mod_s5_quick_contact.php on line 46
--------------------------
The settings that i have used are as follows

[img]
I want the visiter to enter name, email, subject and a message and when he/she presses the send button, the email should be sent to [email]majid_ali85@hotmail.com[/email]. thats the settings that i have used. please check if i am going ok with this.

The code for the form is as under.

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right" valign="top">Name: </td>
<td><input type="text" name="name" id="name" /></td>
</tr>
<tr>
<td align="right" valign="top">Email:</td>
<td><input type="text" name="textfield" id="textfield" /></td>
</tr>
<tr>
<td align="right" valign="top">Subject: </td>
<td><input type="text" name="subject" id="subject" /></td>
</tr>
<tr>
<td align="right" valign="top">Message: </td>
<td><textarea name="message" id="message" cols="45" rows="5">Please type your message here.</textarea></td>
</tr>
<tr>
<td align="right" valign="top"> </td>
<td><input type="submit" name="send" id="send" value="Send" /></td>
</tr>
</table>

Please help.

Post edited by: themajiks, at: 2007/11/22 20:08<br><br>Post edited by: themajiks, at: 2007/11/22 20:12
GreyHead 23 Nov, 2007
Hi themajiks,

Just answered this in another thread - it's not a ChronoForms error and it looks as though you haven't installed a mailserver.

Bob

PS I deleted the third copy of this post!<br><br>Post edited by: GreyHead, at: 2007/11/23 00:04
Max_admin 23 Nov, 2007
Hi themajiks,

Do you have any module called : "quick contact" ? unpublish it then retry ? its the main problem as bob mentioned!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
themajiks 23 Nov, 2007
Well. I am running XP and my IIS is properly installed. but i donot know whats the problem.
themajiks 23 Nov, 2007
Yes. I am also using quick contact. Well let me try that. Thanx for the reply.
themajiks 24 Nov, 2007
Hi.
I unpublished the quick contact module. but it does't work either.
Ok just let me quote the settings that i have made for this webiste.
I have installed joomla on a remote site. My requirements are that if somebody visits my contact page, he must enter a Name (text box name = name), Email (text box name = email), Subject (text box name = subject), and a message (text box name = message), and when hits, the message should reach [email]majid@icon.net[/email] with a subject SRU message. Please check this. Am I doing fine?

Form Name: sru_contact
Email the results ? Yes
Email Address(es): majid@icon.net
Email Subject: SRU Message
CC Email:
BCC Email:
Form tag attachment:
Form method: Post
Omitted fields names:
Record and send users IP? Yes
From Email: email
From name: name
ReplyTo email:
ReplyTo name:
In which format to send the results email: Fields Titles
Debug: OFF
MYSQL Statement ? ENGINE
Enable mambots? No

For reference, the form's html code is as under.

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right" valign="top">Name: </td>
<td><input type="text" name="name" id="name" /></td>
</tr>
<tr>
<td align="right" valign="top">Email:</td>
<td><input type="text" name="textfield" id="textfield" /></td>
</tr>
<tr>
<td align="right" valign="top">Subject: </td>
<td><input type="text" name="subject" id="subject" /></td>
</tr>
<tr>
<td align="right" valign="top">Message: </td>
<td><textarea name="message" id="message" cols="45" rows="5">Please type your message here.</textarea></td>
</tr>
<tr>
<td align="right" valign="top"> </td>
<td><input type="submit" name="send" id="send" value="Send" /></td>
</tr>
</table>


When i press the send button, nothing happens, a blank page appears, but when i check that in email, its blank.
Please help. your reply is really awaited and appreciated.
GreyHead 24 Nov, 2007
Hi themajiks,

1) Can you send an email from your site? Do you have an email server installed? You are talking about IIS but the error url was for a xammp folder? What is your setup?

2) You must have valid names in the From & Reply To name fields and valid emails in the From and Reply To email fields. Neither of these look correct from your last post.

3) Please upload the sample form from the Download area here and restore it in the ChronoForms Form manager. Put in valid email addresses to replace the @example.com ones, turn on Debug, save, click the link and submit the form. Copy and paste the debug info that results here please.

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