Forums

Issue receive email ???

mihirpatel83 13 Aug, 2010
Hello,

Just as other posts that were posted regarding issues with receiveing email for a sample enquiry form i am also stuck with that...i couldn't make out what exactly problem with me.
I am getting where exactly is i am going wrong..Would there be any problem in global configuration of joomla if not in chronoforms.......

I am working with joomla 1.5.20 and i want to develop a simple enquiry page where I should get the query in my mail when posted by user...MY website is not currently hosted and working on localhost

Thanks in advance for replying...

Below is Email message and debug stats.....

Email message
-----------------------------------------------------------------------------

From: Mihir [shreyang@webfactory.in]
To: [email]mihirpatel83@gmail.com[/email]
CC:
BCC:
Subject: Test Mail
Contact Us
Topic Test topic
Query Test query


Debug stats
---------------------------------------------------------------------------
1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [text_3] => Test topic [text_4] => Test query [button_5] => Submit [bbe527f03cd743d103d9822622af1f5b] => 1 [1cf1] => 0262b17448f76abefeda0ddfc864ec0c [chronoformname] => Contact )
6. $_FILES Array: Array ( )
7. Form passed the plugins step (if enabled) OK
8. An email has been SENT successfully from (Mihir)shreyang@webfactory.in to [email]mihirpatel83@gmail.com[/email]
9. Debug End
Submitted by 127.0.0.1

Files:
GreyHead 13 Aug, 2010
Hi Mihir,

Please check your GMail spam folder - that most the most likely place to find your email.

If it isn't there please check that your site can send emails successfully - the 'mail a friend' link on an article page is usually a good way to test this.

Bob
udaydahale 22 Nov, 2010
hey hi sir,

I have issue when i submit form then i have an error

Deprecated: Function ereg() is deprecated in D:\wamp\www\ravincables\components\com_chronocontact\libraries\mails.php on line 117


Thanking You!!!

my form code is
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="tble1">
	<tbody>
		<tr>
			<td width="35%">Company Name <span class="redtxt">*</span></td>
			<td width="65%"><input type="text" class="txtfield wd150 required" id="txtCompanyName" name="txtCompanyName"></td>
		</tr>
		<tr>
			<td>Address <span class="redtxt">*</span></td>
			<td><input type="text" class="txtfield wd150 required" id="txtCompanyAddress" name="txtCompanyAddress"></td>
		</tr>
		<tr>
			<td>Contact Number  <span class="redtxt">*</span></td>
			<td><input type="text" class="txtfield wd150  required" id="txtPhNo" name="txtPhNo"></td>
		</tr>
		<tr>
			<td>Email  <span class="redtxt">*</span></td>
			<td><input type="text" class="txtfield wd150 required validate-email" id="txtEmail" name="txtEmail"></td>
		</tr>
		<tr>
			<td>Contact Person  <span class="redtxt">*</span></td>
			<td><input type="text" class="txtfield wd150 required" id="txtContactPerson" name="txtContactPerson"></td>
		</tr>
		<tr>
			<td>Category <span class="redtxt">*</span> </td>
			<td> <select style="height: 110px;" onchange="ddlCategory_Change()" class="txtfield wd150 validate-selection" id="lstCategory" multiple="multiple" name="lstCategory" size="4">
			<option value="8">Cables for Export</option>
			<option value="6">Fire Survival / Flame Retardant</option>
			<option value="4">Flexible H/W</option>
			<option value="3">HT</option>
			<option value="5">Instrumentation</option>
			<option value="9">Jointing Services (Elastimold)</option>
			<option value="1">LT</option>
			<option value="2">MV</option>
			<option value="7">Specialty Cables</option>
			<option value="11">Switchgears</option>
			<option value="10">Transformers</option>
			</select></td>
		</tr>
		<tr>
			<td>Sub Category  <span class="redtxt">*</span></td>
			<td> <select style="height: 110px;" onchange="ddlSubCategory_Change()" class="txtfield wd150" id="lstSub_Category" multiple="multiple" name="lstSub_Category" size="4">
				</select></td>
		</tr>
		<tr>
			<td>Products interested in</td>
			<td> <select style="height: 110px;" class="txtfield wd150" id="lstProducts" multiple="multiple" name="lstProducts" size="4"></select></td>
		</tr>
        <tr>
			<td>Comments</td>
            <td><textarea style="height: 98px;" class="txtfield wd150" id="txtComments" cols="20" rows="2" name="txtComments"></textarea></td>
        </tr>
        <tr>
			<td colspan="2"><center><input type="submit" class="button" id="btnSubmit" onclick="return validate();" value="Submit" name="btnSubmit">   <input type="submit" class="button" id="btnReset" onclick="return btnReset_Click();" value="Reset" name="btnReset"> </center></td>                                    
        </tr>
	</tbody>
</table>

please help me

fix that issue

regards,
uday
GreyHead 22 Nov, 2010
Hi udaydahale,

You can either set Error Reporting to 'System Default' or 'None' in the Site Global Configuration or you can edit the line referred to so it reads
if(!preg_match('/\{IPADDRESS\}/', $email_body)){


Bob
udaydahale 22 Nov, 2010
thax for reply sir

problem solved

its related to my php version issue

again thax for reply

regards,
uday
This topic is locked and no more replies can be posted.