Topics

Tribe Support

Tribe Support's Topics

Akgora Flip

Akgora Flip

November 05 2020

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 to integrate other opensource mail services into the system.

Thanks in advance...!!!

#Mailer #MailService #Sendgrid

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 tried it? Let me know if it worked.
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
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 sendgrid account but how do i integrate into this system. Thanks in advance.
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/master/src/components/com_mailer/controllers/behaviors/mailer.php

https://github.com/anahitasocial/anahita/blob/master/src/libraries/anahita/mail/mail.php
Akgora Flip liked this
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
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 holiday season or sooner.

Powered by Anahita