Topics

Tribe Support

Tribe Support's Topics

Rajkumar Mundel

Rajkumar Mundel

1 week ago

Mail Settings

Hello,

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"
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 ?
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... https://stackoverflow.com/questions/42558903/expected-response-code-250-but-got-code-535-with-message-535-5-7-8-username

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 sendgrid.com 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
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. https://github.com/anahitasocial/anahita/blob/master/src/components/com_people/controllers/person.php#L25
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 ?
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