Tribe Support

Tribe Support's Topics

Rajkumar Mundel

Rajkumar Mundel

April 12 2019

Mail Settings


I always face issue while setting up Mail setting under the Setting link. I am not getting account activation email for new user. Do I need to configure something at server level (Ubuntu 18.04) ?

I tried all combinations.. PHP Mail function, sendmail or SMTP with combination as TLS or SSL

Thank you, Rajkumar

Trying to configure GMAIL as Mail Setting but no luck.
In the Mail.log... I am having this error.
"unable to qualify my own domain name -- using short name"
Rastin Mehr
Rastin Mehr
April 13 2019 Permalink
Most common setting that we've used on Centos is:

Mailer: SMTP
Sendmail Path: /usr/sbin/sendmail
SMTP Auth: Yes
SMTP Security: SSL
SMTP Port: 25
SMTP Password: ************
SMTP Host: localhost
Do i need configure something on server ? like SENDMAIL or HOSTS name ?
Rastin Mehr
Rastin Mehr
April 13 2019 Permalink
I don't recall if we ever had to specifically configure SMTP on any of our linux servers, but write a simple php code that sends out a test SMTP email on your server to test it.
I test SMTP email on my server with php code... and it worked.
Took help from below link...

But When I did same thing (to generate password for apps and pasted same password in SITE Setting, it is not working)

I feel mailActivationLink method is not working... My normal SMTP php code is working but Signup on Anahita is not sending any email for activation.

I want to post the code (php code to send email which works on my server) here... Can you tell me how can paste the CODE snippet ?

Thank you
Just now i have tried also and it is working perfectly with Simple SMTP php code...
Do I need to check here---- SITE SETTINGS -> App Settings -> com_people - >
Allow Registration and Default Access ??
We are not calling mailActivationLink function after signup and that is the reason email is not sent.
File Name - src/components/com_people/controllers/person.php
Rastin Mehr
Rastin Mehr
April 13 2019 Permalink
Activation link is only sent out when an admin manually adds a person. If registration is open and a person signs up, they should get logged in immediately after.
Yes in my case anyone can register.
Any specific reasoning behind not Verifying email ID for OPEN Registration ?
"The informative message says that Activation link has been sent to you email id " after signup
Why ?
Rastin Mehr
Rastin Mehr
April 15 2019 Permalink
What do you mean by verifying?

In the open registration mode no activation email is sent out. Do you still get a message that says it did so? Could it be a message cached from previous attempts that registration was still closed?

Powered by Anahita