Posted by Ashok Bhamla
2015-12-10

my email
is
info@pmdgroups.com
smtp- smtp.zoho.com
hostname-

can you send me sample file without comment,
i am not good in coding.

//<?php exit; ?>
//---------------------------------------------------------------
//---------------------------------------------------------------
//---------------------------------------------------------------
//---------------------------------------------------------------
//
// Email Configuration File
//
//---------------------------------------------------------------
//---------------------------------------------------------------
//---------------------------------------------------------------
//---------------------------------------------------------------

//---------------------------------------------------------------
// Hostname
//---------------------------------------------------------------
//
// The address of SMTP server
//
// ( example1 ) Hostname=localhost
// ( example2 ) Hostname=smtp.zoho.com

//

Hostname=smtp.zoho.com

//---------------------------------------------------------------
// SMTP Authentication
//---------------------------------------------------------------
//
// If your email server requires SMTP Authentication,
// enable the following three lines, "Auth", "Username", and
// "Password"
// ( NOTE: They are commented out by default. )
//
// Set "LOGIN" to Auth, and set your SMTP username and
// password to Username and Password respectively.
//
Auth=LOGIN
Username=info@pmdgroups.com
Password=pmd12345

//---------------------------------------------------------------
// From
//---------------------------------------------------------------
//
// The sender of the form mail
//
// ( example1 ) From=sender@mydomain.com
// ( example2 ) From=John Smith <john@smith.com>
//

From=info@pmdgroups.com

//---------------------------------------------------------------
// To
//---------------------------------------------------------------
//
// The receiver of the form mail
//
// ( example1 ) To=receiver@mydomain.com
// ( example2 ) To=John Smith <john@smith.com>
//

To=receiver@mydomain.com

//---------------------------------------------------------------
// Cc
//---------------------------------------------------------------
//
// Carbon Copy (Cc)
//
// ( example1 ) Cc=john@smith.com
// ( example2 ) Cc=John Smith <john@smith.com>
// ( example3 ) Cc=john@smith.com | nancy@gold.com
// ( example4 ) Cc=John Smith <john@smith.com> | Nancy Gold <nancy@gold.com>
//

Cc=

//---------------------------------------------------------------
// Bcc
//---------------------------------------------------------------
//
// Blind Carbon Copy (Bcc)
//
// ( example1 ) Bcc=john@smith.com
// ( example2 ) Bcc=John Smith <john@smith.com>
// ( example3 ) Bcc=john@smith.com | nancy@gold.com
// ( example4 ) Bcc=John Smith <john@smith.com> | Nancy Gold <nancy@gold.com>
//

Bcc=

//---------------------------------------------------------------
// Email Subject
//---------------------------------------------------------------
//
// (e.g.) "Contact Us"
//

Subject=Appointment Form

//---------------------------------------------------------------
// Email Body Template ( Text Format )
//---------------------------------------------------------------

Body=<<<_EOM_
Name : ##name##
Contact Person : ##contact_person##
Email Address : ##email_address##
Telephone No. : ##telephone_no_##
Mobile No. : ##mobile_no_##
Other Info : ##other_info##
_EOM_

//---------------------------------------------------------------
// Email Body Template ( HTML Format )
//---------------------------------------------------------------

Html=<<<_EOM_
<html>
<head>
<title>Appointment Form</title>
</head>
<body>
<table>
<tr>
<td align='right'>Name : </td>
<td align='left'>##name##</td>
</tr>
<tr>
<td align='right'>Contact Person : </td>
<td align='left'>##contact_person##</td>
</tr>
<tr>
<td align='right'>Email Address : </td>
<td align='left'>##email_address##</td>
</tr>
<tr>
<td align='right'>Telephone No. : </td>
<td align='left'>##telephone_no_##</td>
</tr>
<tr>
<td align='right'>Mobile No. : </td>
<td align='left'>##mobile_no_##</td>
</tr>
<tr>
<td align='right'>Other Info : </td>
<td align='left'>##other_info##</td>
</tr>
</table>
</body>
</html>
_EOM_

//---------------------------------------------------------------
// END OF FILE
//---------------------------------------------------------------
Posted by Tom
2015-12-11

Hi, your configurations look fine to me. Of course, I can never be sure if you supplied correct information. For example, the email you typed may not exist or the password you typed could be wrong. Did you get any error messages when you post a form? Error messages may give you hints to find out problems. Also if you have anther email account, try it. It may react differently and give you some ideas about where to look at.