By doing some minor tweaks in core file we can easily enable default sendmail instead of SMTP settings.
In CRM, open file vtigercrm/modules/Emails/class.phpmailer.php
Changes should be as below:
function IsSMTP() {
$this->Mailer = "sendmail"
In CRM, open file vtigercrm/modules/Emails/class.phpmailer.php
function IsSMTP() {
$this->Mailer = "smtp"
$this->Mailer = "smtp"
to
function IsSMTP() {
$this->Mailer = "sendmail"
Now go to outgoing server settings in CRM admin and enter details like below -
| mail.yourdomain.com | |
| youremail@anydomain.com | |
| Your password for above email | |
| Set as per your choice | |
| Set as per your choice |
No comments:
Post a Comment