Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

sending mails

189 views
Skip to first unread message

Emiliano Tardioli

unread,
Sep 11, 2024, 11:53:29 AM9/11/24
to Easy!Appointments - Support Group
Hi!!! Im using version 1.3.2 and im unable to sent the confirmation mail for bookings using a gmail account. Thks in advance!


Alex Tselegidis

unread,
Sep 16, 2024, 7:04:25 AM9/16/24
to Easy!Appointments - Support Group
Hello! 

It is strongly advised that you upgraded to a newer version (feel free to email us for upgrade services). 

In order to use gmail as SMTP you will need to generate an app-specific-password and use that in the email.php. 




Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!

Minna Dahlstrom

unread,
Oct 5, 2024, 5:10:22 AM10/5/24
to Easy!Appointments - Support Group
Hi,

I'm encountering the same problem with the newest version 1.5.0: customers having gmail don't receive confirmation emails. How to fix this problem? Great thanks for advice!

Mergim Alija

unread,
Oct 8, 2024, 5:20:15 PM10/8/24
to Easy!Appointments - Support Group

Hi,

Could you please first provide us with your email configuration (email.php), located under /easyappointments/application/config?

Kind regards

Alex Tselegidis

unread,
Oct 9, 2024, 1:06:28 PM10/9/24
to Easy!Appointments - Support Group

Minna Dahlstrom

unread,
Oct 24, 2024, 4:12:45 PM10/24/24
to Easy!Appointments - Support Group
Hi,

Please find different configurations of email.php & outcomes. So, the problem is that customers having gmail don't get confirmation emails. Service providers having O365 and other emails have no issue.

<?php defined('BASEPATH'or exit('No direct script access allowed');

// Add custom values by settings them to the $config array.
// Example: $config['smtp_host'] = 'smtp.gmail.com';

$config['useragent'] = 'Easy!Appointments';
$config['protocol'] = 'mail'// or 'smtp'
$config['mailtype'] = 'html'// or 'text'
// $config['smtp_debug'] = '0'; // or '1'
// $config['smtp_auth'] = TRUE; //or FALSE for anonymous relay.
// $config['smtp_host'] = '83.143.219.45';
// $config['smtp_user'] = '';
// $config['smtp_pass'] = '';
// $config['smtp_crypto'] = 'ssl'; // or 'tls'
// $config['smtp_port'] = 25;
// $config['from_name'] = '';
// $config['from_address'] = '';
// $config['reply_to'] = '';
$config['crlf'] = "\r\n";
$config['newline'] = "\r\n";

--> Service provider gets the confirmation to O365 email, but a customer doesn't get the confirmation to gmail.


<?php defined('BASEPATH'or exit('No direct script access allowed');

// Add custom values by settings them to the $config array.
// Example: $config['smtp_host'] = 'smtp.gmail.com';

$config['useragent'] = 'Easy!Appointments';
$config['protocol'] = 'mail'// or 'smtp'
$config['mail_host'] = 'mail.youbestwell.fi';
$config['mailtype'] = 'html'// or 'text'
// $config['smtp_debug'] = '0'; // or '1'
// $config['smtp_auth'] = TRUE; //or FALSE for anonymous relay.
// $config['smtp_host'] = '83.143.219.45';
// $config['smtp_user'] = '';
// $config['smtp_pass'] = '';
// $config['smtp_crypto'] = 'ssl'; // or 'tls'
// $config['smtp_port'] = 25;
// $config['from_name'] = '';
// $config['from_address'] = '';
// $config['reply_to'] = '';
$config['crlf'] = "\r\n";
$config['newline'] = "\r\n";

--> Service provider gets the confirmation to O365 email, but a customer doesn't get the confirmation to gmail.


<?php defined('BASEPATH'or exit('No direct script access allowed');

// Add custom values by settings them to the $config array.
// Example: $config['smtp_host'] = 'smtp.gmail.com';

$config['useragent'] = 'Easy!Appointments';
$config['protocol'] = 'smtp';
$config['mailtype'] = 'html'// or 'text'
// $config['smtp_debug'] = '0'; // or '1'
// $config['smtp_auth'] = FALSE;
// $config['smtp_host'] = '83.143.219.45';
// $config['smtp_user'] = '';
// $config['smtp_pass'] = '';
// $config['smtp_crypto'] = 'ssl'; // or 'tls'
// $config['smtp_port'] = 25;
// $config['from_name'] = '';
// $config['from_address'] = '';
// $config['reply_to'] = '';
$config['crlf'] = "\r\n";
$config['newline'] = "\r\n";

--> Service provider doesn't get the confirmation to O365 email, and a customer doesn't get the confirmation to gmail.

For your information also the dns-settings having spf record required by Google:

image.png

What should be changed to get emails working properly?
Great thanks for your help!

Best regards,
Minna

Alex Tselegidis

unread,
Oct 27, 2024, 8:39:06 PM10/27/24
to Easy!Appointments - Support Group
Hello! 

Is there some error message you are seeing in the logs? 

Minna Dahlstrom

unread,
Oct 28, 2024, 5:32:19 AM10/28/24
to Easy!Appointments - Support Group
Hi Alex,

Great point! I found this one (please find the file attached):
public_html/easyappointments/storage/logs/

Many, many thanks for your help!

Best regards,
Minna

log-2024-10-22.php

Alex Tselegidis

unread,
Nov 5, 2024, 6:32:11 AM11/5/24
to Easy!Appointments - Support Group
Thanks! It seems that the email host name was not specified. 

> Email was not sent: You did not specify a SMTP hostname.<br />Unable to send email using PHP SMTP.

Could that be missing from your email.php configuration? 


Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!



Reply all
Reply to author
Forward
0 new messages