Tribe Support

In this group #Anahita Tribe members provide support and help each other out. All posts should be public in this group. #support

Stories

Rastin Mehr

Rastin Mehr and Connor Summeril commented on the topic

Assistance with SMTP Settings

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page...

Read More

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page.Unfortunately, when I put in my information for an admin account, I get my browser saying the page is not found and no confirmation email is sent. After reading through some support posts I found the exact same behavior described here.

https://www.getanahita.com/topics/169108-no-user-signup-page?permalink=169237

The solution appeared to be changing SMTP settings but I am unsure how to set that up. I have the following as my SMTP settings with my Mailgun account:

   /* Mailer Settings */

   var $mailer = 'smtp';

   var $mailfrom = 'noreply@mail.testopenhmi.com';

   var $fromname = 'Anahita Website';

   var $sendmail = '/usr/sbin/sendmail';

   /* SMTP Settings */

   var $smtp_user = 'postmaster@mail.testopenhmi.com';

   var $smtp_pass = '********************';

   var $smtp_host = 'smtp.mailgun.org';

   var $smtp_secure = 'ssl';

   var $smtp_port = 465;

I have tried a few different configurations, different ports, and different settings for the $mailer variable. None of which seem to work.I am running my server on a Debian 10 system, as far as I could tell it does not come preconfigured with a sendmail binary. I tried installing sendmail and setting up some configuration but went down a path that did not seem correct and never got it working.Any general tips / advice on how to debug this and check errors? I have enabled debugging in my configuration already like this:

   /* Debuging Settings */

   var $debug = 1;

   var $error_reporting = 30719;

I still am not seeing error codes when I do this. Just looking for some help with SMTP and maybe some example configuration settings.Thank you! Read Less
One reliable way is to just use the PHP mail function var $mailer = 'mail'; otherwise I suggest that you use an external SMTP service such as Mailgun.

Also, make sure that $client_domain has the full domain value ... Read More
One reliable way is to just use the PHP mail function var $mailer = 'mail'; otherwise I suggest that you use an external SMTP service such as Mailgun.

Also, make sure that $client_domain has the full domain value such as https://www.yourdomain.com Read Less
I have tried using 'mail' as the $mailer variable. That did not seem to work. I did a a site re-initialization as well after setting that variable but that didn't seem to work either. I always still had the same behav... Read More
I have tried using 'mail' as the $mailer variable. That did not seem to work. I did a a site re-initialization as well after setting that variable but that didn't seem to work either. I always still had the same behavior.

What does using and external SMTP service such as Mail look like? I have a Mailgun account set up and I have input those parameters into the configuration.php what else needs to be done on the system? I'm not looking for exact specifics but I'm missing a step here.

I do a site re-initialization between each configuration change, is there anything more that needs to be done?

Thanks! Read Less
Yes, all you need is to add the MailGun credentials to the configuration file so Anahita can send out emails. Then drop the database and redo the site:ini command. Let me know how it goes.
Connor Summeril

Connor Summeril started a topic

Assistance with SMTP Settings

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page...

Read More

Hello,

I was able to set up my Anahita installation on my cloud machine (Digital Ocean Droplet) and get Nginx configured correctly so that I could see the landing page and see the Admin sign in page.Unfortunately, when I put in my information for an admin account, I get my browser saying the page is not found and no confirmation email is sent. After reading through some support posts I found the exact same behavior described here.

https://www.getanahita.com/topics/169108-no-user-signup-page?permalink=169237

The solution appeared to be changing SMTP settings but I am unsure how to set that up. I have the following as my SMTP settings with my Mailgun account:

   /* Mailer Settings */

   var $mailer = 'smtp';

   var $mailfrom = 'noreply@mail.testopenhmi.com';

   var $fromname = 'Anahita Website';

   var $sendmail = '/usr/sbin/sendmail';

   /* SMTP Settings */

   var $smtp_user = 'postmaster@mail.testopenhmi.com';

   var $smtp_pass = '********************';

   var $smtp_host = 'smtp.mailgun.org';

   var $smtp_secure = 'ssl';

   var $smtp_port = 465;

I have tried a few different configurations, different ports, and different settings for the $mailer variable. None of which seem to work.I am running my server on a Debian 10 system, as far as I could tell it does not come preconfigured with a sendmail binary. I tried installing sendmail and setting up some configuration but went down a path that did not seem correct and never got it working.Any general tips / advice on how to debug this and check errors? I have enabled debugging in my configuration already like this:

   /* Debuging Settings */

   var $debug = 1;

   var $error_reporting = 30719;

I still am not seeing error codes when I do this. Just looking for some help with SMTP and maybe some example configuration settings.Thank you! Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Anahita on Google App Engine?

Can Anahita  4.5.0  be deployed Google App Engine? 

#GoogleAppEngine

I don’t know, never tried it. We have only done AWS and Rackspace deployments.
Rastin Mehr

Rastin Mehr commented on the topic

No User Signup Page

@rastin Rastin: any update on the anahita.local/people/signup404 Not Foundissue?

Yes, the first user becomes Super Admin and Anahita sends out an email with a confirmation link. This is for better security.

There is no "localhost.anahita/administrator" path in Anahita. All users log in using "l... Read More
Yes, the first user becomes Super Admin and Anahita sends out an email with a confirmation link. This is for better security.

There is no "localhost.anahita/administrator" path in Anahita. All users log in using "localhost.anahita/people/session" path. Read Less
Unknown Person liked this
You can either go to the database and enable the user or just drop the database and redo the initiation process after adding the Mailgun credentials to the configuration.php file.

1. add Mailgun credentials to the ... Read More
You can either go to the database and enable the user or just drop the database and redo the initiation process after adding the Mailgun credentials to the configuration.php file.

1. add Mailgun credentials to the configuration.php file
2. drop database
3. php anahita site:init Read Less
By the way, we're going to improve this in future releases. We know that it is not as simple when your development environment is still new.
Rastin Mehr

Rastin Mehr commented on the topic

No User Signup Page

@rastin Rastin: any update on the anahita.local/people/signup404 Not Foundissue?

Yes, the only specific line is the try_files that I gave you. Otherwise, read the Nginx docs and examples and then craft something that works for your server.
It’s probably because Anahita tried to send you a confirmation email, but the server isn’t configured to do so. You can edit the configuration.php file and add the values for your mail server of choice. You can for ex... Read More
It’s probably because Anahita tried to send you a confirmation email, but the server isn’t configured to do so. You can edit the configuration.php file and add the values for your mail server of choice. You can for example use an SMTP service such as Mailgun. Read Less
Unknown Person liked this
Rastin Mehr

Rastin Mehr commented on the topic

No User Signup Page

@rastin Rastin: any update on the anahita.local/people/signup404 Not Foundissue?

Ok, let me do some more testing and get back to you
Can you please check and see if the database tables are created or not?
The only thing that has changed in that part of the code is that we are using localhost for the database host by default instead of 127.0.0.1
Another tip: drop the database before installing Anahita. It's possible that the database tables from the last attempt are still there.
What's the value of $sef_rewrite in configuration.php file? It should be 1
None of these variables are related to the issue you are having. Did you say that you can see the home page? If you see index.php in the generated URLs, that means sef_rewrite is 0, it should be one.

Are you using... Read More
None of these variables are related to the issue you are having. Did you say that you can see the home page? If you see index.php in the generated URLs, that means sef_rewrite is 0, it should be one.

Are you using Nginx or Apache? Read Less
Unknown Person liked this
You need this in your Nginx config file: try_files $uri $uri/ /index.php?$args; instead of what you have. At this point, it seems like your issue has to do with Nginx configuration and not Anahita.
Is this the Nginx 404 page or Anahita 404 page that you are getting? If it is the Nginx 404 page, then the problem is in the Nginx configuration, not Anahita.
Rastin Mehr

Rastin Mehr commented on the topic

No User Signup Page

@rastin Rastin: any update on the anahita.local/people/signup404 Not Foundissue?

I am testing with MySql 5.7. I'm wondering if Mysql 8.0 has issues with our current queries.
Rastin Mehr

Rastin Mehr commented on the topic

No User Signup Page

@rastin Rastin: any update on the anahita.local/people/signup404 Not Foundissue?

Rastin Mehr
Rastin Mehr
April 30 2021 Permalink
I am wondering, did you pull code from the master branch in an existing project, or this is happening in a fresh installation?
Rastin Mehr
Rastin Mehr
April 30 2021 Permalink
We are still working on the master branch so the code is unstable. For the time being, you can run the command:

$ php anahita site:configuration

and then look in the configuration.php file and see if there are a... Read More
We are still working on the master branch so the code is unstable. For the time being, you can run the command:

$ php anahita site:configuration

and then look in the configuration.php file and see if there are any variables missing. For example, client_domain should be set to "anahita.local", and sef_rewrite = 1 Read Less
Rastin Mehr
Rastin Mehr
April 30 2021 Permalink
So I just cloned Anahita from the master branch, and I installed it successfully. I noticed that for the database, I needed to use localhost instead of 127.0.0.1 because of how MySQL is set up on my machine; otherwise... Read More
So I just cloned Anahita from the master branch, and I installed it successfully. I noticed that for the database, I needed to use localhost instead of 127.0.0.1 because of how MySQL is set up on my machine; otherwise, it couldn't connect. I couldn't reproduce the 404 error that you are having. Read Less
Rastin Mehr
Rastin Mehr
April 30 2021 Permalink
What versions of php and MySQL are you using?
Rastin Mehr
Rastin Mehr
April 30 2021 Permalink
That seems like a file permissions issue. Can you check and see if the path /var/www/anahita.local/vendor/anahita-platform/installation/sql/data.sql exists and whether PHP has permissions to read it?

Also in config... Read More
That seems like a file permissions issue. Can you check and see if the path /var/www/anahita.local/vendor/anahita-platform/installation/sql/data.sql exists and whether PHP has permissions to read it?

Also in configuration.php file make sure the variables are set to maximum error reporting:

var $debug = 1;
var $error_reporting = 30719; Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Twilio-Anahita Phone Signup/Sign-ins via sms code

Rastin et al

We want to implement Twilio-Anahita Phone Signup/Sign-ins via SMS code

Here is the User Story:

USER SIGNUP (Registration)

A first time user selects the Flag/Country his mobile phone numb...

Read More

Rastin et al

We want to implement Twilio-Anahita Phone Signup/Sign-ins via SMS code

Here is the User Story:

USER SIGNUP (Registration)

A first time user selects the Flag/Country his mobile phone number is registered in and enters his/her Mobile Phone [+Country Code Area Code Phone Number]

Twilio then sends the user a one-time passcode to his/her mobile phone via SMS. The user then enters the code on our website to complete their registration. 

Immediately upon registration (first-time login) an Anahita User page is "auto-generated" showing : 

[Avatar/Photo Placeholder] 

[Country Flag] [+Country Code Area Code Phone Number]

and the rest of the Anahita User page fields 

SUBSEQUENT SIGN-INS

After the initial session has expired, a returning user can access his/her account and use our website by repeating the same process: select country, enter the mobile number, receive a code via SMS,  add code to the page,  and is logged in- again- until the session expires. Anytime a session expires or is killed and the client is reloaded the

The same procedure needs to happen. Account data is persistent from initial signup to subsequent sign-ins for a seamless and easy UX. The idea is to create a community of Mobile Phone Users

Please advise how to proceed given the current state of Anahita code+pluginsThanks in advance note: A similar use case was described by Akgora Flip in his post dated May 12 2020 Want to add a mobile number for the signup and sign in processhttps://www.getanahita.com/topics/168154-want-to-add-mobile-number-for-signup-and-sign-in-processWould be interested in knowing if a Twilio-Anahita plugin was ever developed or in in the works by Akgora Flip and/or any other members #Twilio #Signup #Authentication #Onboarrding #Registration #Mobile #TwoFactorAuthentication #TwoFA #SMS Read Less
Rastin Mehr liked this
Rastin Mehr
Rastin Mehr
April 14 2021 Permalink
The only guidance that I provided was on this group. The plugin architecture hasn't changed much, so you should be able to build an implementation for yourself using the existing code in the master branch.
Unknown Person liked this
Rastin Mehr

Rastin Mehr commented on the topic

Twilio-Anahita Phone Signup/Sign-ins via sms code

Rastin et al

We want to implement Twilio-Anahita Phone Signup/Sign-ins via SMS code

Here is the User Story:

USER SIGNUP (Registration)

A first time user selects the Flag/Country his mobile phone numb...

Read More

Rastin et al

We want to implement Twilio-Anahita Phone Signup/Sign-ins via SMS code

Here is the User Story:

USER SIGNUP (Registration)

A first time user selects the Flag/Country his mobile phone number is registered in and enters his/her Mobile Phone [+Country Code Area Code Phone Number]

Twilio then sends the user a one-time passcode to his/her mobile phone via SMS. The user then enters the code on our website to complete their registration. 

Immediately upon registration (first-time login) an Anahita User page is "auto-generated" showing : 

[Avatar/Photo Placeholder] 

[Country Flag] [+Country Code Area Code Phone Number]

and the rest of the Anahita User page fields 

SUBSEQUENT SIGN-INS

After the initial session has expired, a returning user can access his/her account and use our website by repeating the same process: select country, enter the mobile number, receive a code via SMS,  add code to the page,  and is logged in- again- until the session expires. Anytime a session expires or is killed and the client is reloaded the

The same procedure needs to happen. Account data is persistent from initial signup to subsequent sign-ins for a seamless and easy UX. The idea is to create a community of Mobile Phone Users

Please advise how to proceed given the current state of Anahita code+pluginsThanks in advance note: A similar use case was described by Akgora Flip in his post dated May 12 2020 Want to add a mobile number for the signup and sign in processhttps://www.getanahita.com/topics/168154-want-to-add-mobile-number-for-signup-and-sign-in-processWould be interested in knowing if a Twilio-Anahita plugin was ever developed or in in the works by Akgora Flip and/or any other members #Twilio #Signup #Authentication #Onboarrding #Registration #Mobile #TwoFactorAuthentication #TwoFA #SMS Read Less
Rastin Mehr liked this
Rastin Mehr
Rastin Mehr
February 16 2021 Permalink
This is good and if you had any questions, you can post them on this topic. I'm not aware of any Twilio integrations happening in the community. You seem to be the first one.
Rastin Mehr

Rastin Mehr commented on the topic

Twilio-Anahita Phone Signup/Sign-ins via sms code

Rastin et al

We want to implement Twilio-Anahita Phone Signup/Sign-ins via SMS code

Here is the User Story:

USER SIGNUP (Registration)

A first time user selects the Flag/Country his mobile phone numb...

Read More

Rastin et al

We want to implement Twilio-Anahita Phone Signup/Sign-ins via SMS code

Here is the User Story:

USER SIGNUP (Registration)

A first time user selects the Flag/Country his mobile phone number is registered in and enters his/her Mobile Phone [+Country Code Area Code Phone Number]

Twilio then sends the user a one-time passcode to his/her mobile phone via SMS. The user then enters the code on our website to complete their registration. 

Immediately upon registration (first-time login) an Anahita User page is "auto-generated" showing : 

[Avatar/Photo Placeholder] 

[Country Flag] [+Country Code Area Code Phone Number]

and the rest of the Anahita User page fields 

SUBSEQUENT SIGN-INS

After the initial session has expired, a returning user can access his/her account and use our website by repeating the same process: select country, enter the mobile number, receive a code via SMS,  add code to the page,  and is logged in- again- until the session expires. Anytime a session expires or is killed and the client is reloaded the

The same procedure needs to happen. Account data is persistent from initial signup to subsequent sign-ins for a seamless and easy UX. The idea is to create a community of Mobile Phone Users

Please advise how to proceed given the current state of Anahita code+pluginsThanks in advance note: A similar use case was described by Akgora Flip in his post dated May 12 2020 Want to add a mobile number for the signup and sign in processhttps://www.getanahita.com/topics/168154-want-to-add-mobile-number-for-signup-and-sign-in-processWould be interested in knowing if a Twilio-Anahita plugin was ever developed or in in the works by Akgora Flip and/or any other members #Twilio #Signup #Authentication #Onboarrding #Registration #Mobile #TwoFactorAuthentication #TwoFA #SMS Read Less
Rastin Mehr
Rastin Mehr
February 07 2021 Permalink
We've never integrated with Twilio because for the projects that we have done, Twilio wouldn't have passed the user privacy compliance. Still, I realize that mobile signup and 2FA are very convenient for business to c... Read More
We've never integrated with Twilio because for the projects that we have done, Twilio wouldn't have passed the user privacy compliance. Still, I realize that mobile signup and 2FA are very convenient for business to consumer projects. So I can give you some tips:

1. Build your UI and UX workflow in a clientside technology as a mobile, browser, or desktop app. Do not rely on the existing HTML views in Anahita. As soon as the Anahita React app is ready, we will remove all the HTML views in Anahita and make it available as a RESTful API only service.

2. DO NOT store user phone numbers in Anahita. It's better if a big-budget company such as Twilio handles phone numbers because, one would hope, that they have better infrastructure and budget to protect users' data. What you do is to first register the user with Twilio by providing them with the user's email and phone number, and then obtain a Twilio user id, then store the Twilio user id in Anahita's person object as metadata like this:

$person->setValue("twilio_user_id", $twilio_user_id);

and obtain it:

$person->getValue("twilio_user_id");

3. Anahita plugins provide a series of hooks or events that you can use. You need to develop a Twilio User Plugin and Twilio Authentication Plugin. The first one is used for sign up and keeping the account information updated, and the authentication plugin is for authenticating the user against Twilio API.

Here are the list of hooks in an Anahita User plugin: https://github.com/anahitasocial/anahita/blob/master/src/plugins/user/anahita.php

And there is only one hook in the Anahita Authentication plugin, which is "onAuthenticate": https://github.com/anahitasocial/anahita/blob/master/src/plugins/authentication/anahita.php Read Less
Rastin Mehr
Rastin Mehr
February 07 2021 Permalink
So here is how the UI/UX workflow works. In your client app, design a signup form that includes a phone number field and email. In your Twilio User Plugin, in the method onAfterAddPerson, register the user with Twilio... Read More
So here is how the UI/UX workflow works. In your client app, design a signup form that includes a phone number field and email. In your Twilio User Plugin, in the method onAfterAddPerson, register the user with Twilio, obtain a user id from them and store it in your person object for later use.

Twilio will send an SMS message with a code to the phone number:

In your Twilio Authentication plugin, in the onAuthenticate method, pass the code to the Twilio API and listen to the response. If the response was a success, create an Anahita session for the user and log them in. Basically, instead of checking user credentials (username, password), we are using Twilio's temporary code to authenticate the user. Read Less
Rastin Mehr
Rastin Mehr
February 07 2021 Permalink
And one last tip, you can build your own People package and store it in the packages directory with the other apps. Basically, it will be your own custom com_people. When you are installing Anahita, she will use your ... Read More
And one last tip, you can build your own People package and store it in the packages directory with the other apps. Basically, it will be your own custom com_people. When you are installing Anahita, she will use your custom com_people instead of the default com_people.

I hope this helped! Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Replacing word 'Anahita' in project folder.

Hi Rastin,

I would like to know how to replace word "Anahita" with other word of my choice in total project folder.  Could you let me know whether it is possible? if so could you walk me through on ...

Read More

Hi Rastin,

I would like to know how to replace word "Anahita" with other word of my choice in total project folder.  Could you let me know whether it is possible? if so could you walk me through on how to do it.  Thanks in advance.

Read Less
Rastin Mehr
Rastin Mehr
January 29 2021 Permalink
If you make significant changes to the codebase, you won't be able to apply future updates that we release to it. You will be on your own to maintain your codebase.
Akgora Flip

Akgora Flip commented on the topic

Replacing word 'Anahita' in project folder.

Hi Rastin,

I would like to know how to replace word "Anahita" with other word of my choice in total project folder.  Could you let me know whether it is possible? if so could you walk me through on ...

Read More

Hi Rastin,

I would like to know how to replace word "Anahita" with other word of my choice in total project folder.  Could you let me know whether it is possible? if so could you walk me through on how to do it.  Thanks in advance.

Read Less
Akgora Flip
Akgora Flip
January 27 2021 Permalink
I just wanted to confirm whether it would effect the project in terms of settings or configurations. Thank you.
Rastin Mehr

Rastin Mehr and Akgora Flip commented on the topic

Replacing word 'Anahita' in project folder.

Hi Rastin,

I would like to know how to replace word "Anahita" with other word of my choice in total project folder.  Could you let me know whether it is possible? if so could you walk me through on ...

Read More

Hi Rastin,

I would like to know how to replace word "Anahita" with other word of my choice in total project folder.  Could you let me know whether it is possible? if so could you walk me through on how to do it.  Thanks in advance.

Read Less
Rastin Mehr
Rastin Mehr
January 25 2021 Permalink
What command did you use when you were creating the project folder? I'm not sure which directory you are referring to as the project folder. Could you be a bit more specific, please?
Akgora Flip
Akgora Flip
January 25 2021 Permalink
Im sorry if i did not make you understand there, what i meant is in all the files we have word "anahita" so i need to replace them all with some other word.
Rastin Mehr
Rastin Mehr
January 25 2021 Permalink
I suppose you just go and replace them all. This isn't really a support question.
Akgora Flip liked this
Akgora Flip

Akgora Flip started a topic

Replacing word 'Anahita' in project folder.

Hi Rastin,

I would like to know how to replace word "Anahita" with other word of my choice in total project folder.  Could you let me know whether it is possible? if so could you walk me through on ...

Read More

Hi Rastin,

I would like to know how to replace word "Anahita" with other word of my choice in total project folder.  Could you let me know whether it is possible? if so could you walk me through on how to do it.  Thanks in advance.

Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Want to add mobile number for signup and sign in process

Dear People,

Here I am developing a mobile application based on anahita backend.

I want to use mobile number for signup and sign in process, later will use mobile verification for signup 

can you ple...

Read More

Dear People,

Here I am developing a mobile application based on anahita backend.

I want to use mobile number for signup and sign in process, later will use mobile verification for signup 

can you please help me where can I take care of the new fields after I  add it to the DB..

Any clues or insights would be very help full.

Thanks in Advance and Kind Regards

Read Less
Rastin Mehr liked this
Rastin Mehr
Rastin Mehr
January 22 2021 Permalink
We aren't adding those fields to the people_people table. You can capture and store them as metadata in a profile plugin. Please start a new topic so I can elaborate.
Akgora Flip liked this
Rastin Mehr

Rastin Mehr commented on the topic

Mailer function

HI Rastin,

Hope you are doing well..!!!

I have a query regarding mailer function in anahita setup.  I would like to know how to integrate other mail services like sendgrid etc.  Could you help me out...

Read More

HI Rastin,

Hope you are doing well..!!!

I have a query regarding mailer function in anahita setup.  I would like to know how to integrate other mail services like sendgrid etc.  Could you help me out to integrate other opensource mail services into the system.

Thanks in advance...!!!

#Mailer #MailService #Sendgrid

Read Less
Rastin Mehr
Rastin Mehr
December 17 2020 Permalink
An update on this, I tested Anahita with Mailgun this week, and it worked pretty much out of the box by only entering the SMTP credentials in Anahita settings. I haven't tested with SendGrid yet, perhaps during the ho... Read More
An update on this, I tested Anahita with Mailgun this week, and it worked pretty much out of the box by only entering the SMTP credentials in Anahita settings. I haven't tested with SendGrid yet, perhaps during the holiday season or sooner. Read Less
Akgora Flip

Akgora Flip commented on the topic

Mailer function

HI Rastin,

Hope you are doing well..!!!

I have a query regarding mailer function in anahita setup.  I would like to know how to integrate other mail services like sendgrid etc.  Could you help me out...

Read More

HI Rastin,

Hope you are doing well..!!!

I have a query regarding mailer function in anahita setup.  I would like to know how to integrate other mail services like sendgrid etc.  Could you help me out to integrate other opensource mail services into the system.

Thanks in advance...!!!

#Mailer #MailService #Sendgrid

Read Less
Akgora Flip
Akgora Flip
November 12 2020 Permalink
Thanks Rastin...will let you know if this does the job.
Unknown Person liked this
Rastin Mehr

Rastin Mehr and Akgora Flip commented on the topic

Mailer function

HI Rastin,

Hope you are doing well..!!!

I have a query regarding mailer function in anahita setup.  I would like to know how to integrate other mail services like sendgrid etc.  Could you help me out...

Read More

HI Rastin,

Hope you are doing well..!!!

I have a query regarding mailer function in anahita setup.  I would like to know how to integrate other mail services like sendgrid etc.  Could you help me out to integrate other opensource mail services into the system.

Thanks in advance...!!!

#Mailer #MailService #Sendgrid

Read Less
Akgora Flip
Akgora Flip
November 11 2020 Permalink
No Rastin that did not work it misleaded. Sorry for the wrong information, i am currently trying to integrate sendgrid for sending mails. Could you please help me out on this. Currently i generated api key using s... Read More
No Rastin that did not work it misleaded. Sorry for the wrong information, i am currently trying to integrate sendgrid for sending mails. Could you please help me out on this. Currently i generated api key using sendgrid account but how do i integrate into this system. Thanks in advance. Read Less
Rastin Mehr
Rastin Mehr
November 11 2020 Permalink
Oh, that's unfortunate. I haven't tried SendGrid with Anahita. As soon as we test one, I'll let you know. If you want to investigate yourself, look at these files:

https://github.com/anahitasocial/anahita/blob/mast... Read More
Oh, that's unfortunate. I haven't tried SendGrid with Anahita. As soon as we test one, I'll let you know. If you want to investigate yourself, look at these files:

https://github.com/anahitasocial/anahita/blob/master/src/components/com_mailer/controllers/behaviors/mailer.php

https://github.com/anahitasocial/anahita/blob/master/src/libraries/anahita/mail/mail.php Read Less
Akgora Flip liked this
Rastin Mehr

Rastin Mehr and Akgora Flip commented on the topic

Mailer function

HI Rastin,

Hope you are doing well..!!!

I have a query regarding mailer function in anahita setup.  I would like to know how to integrate other mail services like sendgrid etc.  Could you help me out...

Read More

HI Rastin,

Hope you are doing well..!!!

I have a query regarding mailer function in anahita setup.  I would like to know how to integrate other mail services like sendgrid etc.  Could you help me out to integrate other opensource mail services into the system.

Thanks in advance...!!!

#Mailer #MailService #Sendgrid

Read Less
Rastin Mehr
Rastin Mehr
November 09 2020 Permalink
Akgora, if you look under the Site Settings Configs Mail Settings you should be able to enter the parameters and credentials to use an external service such as #Mailgun to send out email notifications. Have you trie... Read More
Akgora, if you look under the Site Settings > Configs > Mail Settings you should be able to enter the parameters and credentials to use an external service such as #Mailgun to send out email notifications. Have you tried it? Let me know if it worked. Read Less
Akgora Flip
Akgora Flip
November 09 2020 Permalink
Hi Rastin,


I would like to integrate it with Sendgrid. Is it possible, could you help me out in this context.
Thanks in advance....!!
Rastin Mehr
Rastin Mehr
November 09 2020 Permalink
I don't know, what don't you try it? https://sendgrid.com/solutions/email-api/smtp-service/
Akgora Flip liked this
Akgora Flip
Akgora Flip
November 09 2020 Permalink
Sure Rastin, will try it out. Thank You.
Rastin Mehr liked this
Akgora Flip
Akgora Flip
November 09 2020 Permalink
That worked for me, Thanks Rastin....!!!
Rastin Mehr liked this
Rastin Mehr
Rastin Mehr
November 09 2020 Permalink
Did it work? Was it easy? Share more for the rest of us, please!
Akgora Flip liked this

Photos View All

Articles View All

Topics View All

Powered by Anahita