Joomla - How to take the emails from another server via SMTP - joomla2.5

Hello am cofused with joomla 2.5 and smtp.
I buy domen and hosting and in cpanel i make new email (contact#my-site.com)
I want all received and sent messages to get in joomla admin mailbox. Someone tell me that is inposible and i need module for that.
I configure my SMTP in joomla for gmail. Whay gmail? Gmail for test to see does message will be received in JO Mailbox:
Mailer: SMTP
SMTP Authentication: Yes
SMTP Security: SSL
SMTP Port 465
SMTP username: your gmail username
SMTP password: your gmail password
SMTP host: smtp.gmail.com
And when i send email from gmail to contact#my-site.com message not delivered in joomla mailbox.
Whay what i do wrong i configure smtp? BUt all message sent from gmail to contact#my-site.com is delivered in cpanel mail service.
I can read all mails via Using Horde, RoundCube and SquirrelMail. All message is there but that message i want to show in joomla mailbox. Whay? BCS i have many moderators on website and i dont want give full access on cpanel.
So if moderator want to read new message he must to go in my-site.com/cpanel and log there and than can read message..
Anyone can help me for this or give some module or component to fix that.
Thanks!

The Mail Settings in the Joomla Global Configuration are only used if Joomla itself wants to send some emails. Like when a new user is created it can send an email to the user and the administrator. It's not meant to read emails at all (thus no pop or imap settings, only smtp). By default it will use the PHP mail present on the webserver which most of time works fine.
If you want to read emails from Gmail on your Joomla site, you need indeed a component for that. You can have a look at the Joomla Extension Directory (JED: http://extensions.joomla.org/extensions/contacts-and-feedback/email) if you find something which does that.
Personally I would just set up my email program (Outlook, Windows Live Mail, Thunderbird, ...) to pull the mails using pop or imap. That's much simpler than working with any webmail imho :)

Related

Sending email with Django using Gmail not working

I'm new to Django and I want to send the email through my Django server using my Gmail account but unfortunately, I'm getting an error while sending emails even though I've put all credentials correctly there is one thing more in my Gmail account which is "less secure apps" that has to be enabled but this feature is no longer available in Gmail so now how can I send the emails in Django?
error while sending the email
b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials f14-20020a05600c4e8e00b0039c5642e430sm4688852wmq.20 - gsmtp'
Since May 30 2022 the less secure apps feature has been disabled. Now, to let 3rd party apps access gmail you must generate an App password and to generate an app password you must first enable 2-factor authentication for your account:
https://myaccount.google.com/apppasswords
Once you have the app password you can simply replace your host account password with the app password:
EMAIL_HOST_PASSWORD = '<app_password>'
You can find the complete email integration process wonderfully explained here: https://github.com/CoreyMSchafer/code_snippets/tree/master/Django_Blog/12-Password-Reset/django_project
im looking forward for an answer too, as i am experiencing the same problem.
In the meantime, i had to change the email provider to another company, for me it worked with mailjet, they have a free plan and no card info needed, hope this helps you!

Using sendgrid domain authentication sends email to spam in Django

I am trying to send email from my Django application. For this, I have used Twilio SendGrid service. Though my application can send the email, it ends up in spam folder. So, I have followed this tutorial to authenticate my domain which I bought from AWS route 53. In sendgrid, the domain authentication status shows 'verified' but the emails are still sent to spam folder. I have not created any MX or TXT record in DNS setting as the tutorial says it was created automatically during domain authentication in sendgrid.
One thing I have noticed that the email still shows, 'via.sendgrid.net' message (attached an image below) with the email. Whereas it should be my authenticated domain name. I have created sendgrid account with an outlook email and using that address to send email from Django app. Is this the reason my emails are going to spam? Or can anyone please help me to find a solution for this problem? Thanks in advance.
FYI: I have done 'Single Sender Verification' in sendgrid during developing this app. But now I have deployed it in aws. I guess this feature is still working instead of 'Domain Authentication'.

receive emails in rails app

I know that we can receive emails into rails app using ActionMailer configuration or using griddler/mailman gems. But is that possible to receive unique emails?
Ex: When a user is signed up into the app I create him a unique email address.
When the user sends an email to that unique email address rails app should receive that email.
I used google to find the solution but couldn't get the answer. Please help me(reference links are also much appreciated).
no complete solution, but an idea: you could set up a catch all email address on your mail server that receives all mail sent to your domain.
then, in rails you use the mailman/mail gem to receive mails sent to this catch-all address and process it depending on the To header.

Send email from Openshift without no-reply#rhcloud.com

My Django application sends email out to users. On localhost, it was using my gmail account that i set via settings.py. However, when porting the app onto Openshift, all the headers were ignored. Instead of using the application from, reply-to email addresses, email coming from application on Openshift is FROM no-reply#rhcloud.com and no Reply-to email address.
Here is what I later found:
All e-mails routed through our servers have their From header rewritten. This will continue to function this way until we support e-mail as an "official" feature. Relaying through an external mail server should not overwrite this header." by Sumana Annam, Red Hat, Inc.
https://www.openshift.com/forums/openshift/sending-email-from-jboss-by-defect-the-from-is-no-replyrhcloudcom
Does anyone find a way of sending email from Openshift where the email header does not get rewritten?
Greatly appreciate any help/direction.
The official answer is that you would need to use a third party library to remove the no-reply#rhcloud.com. There is no way to change that header on email that is relayed through openshift's email servers.

Use gmail SMTP server for my another email, in django

I have two emails, myemail#gmail.com and mymail#mydomain.com. I want to send email to users of my django app, from mymail#mydomain.com. I am using mydomain email, from my gmail account, using the add another account settings. But when I try to send email with the server as smtp.gmail.com, I get SMTPAuthentication error. Is there any way I can use the gmail server? I cannot use smtp.mydomain.com , as there is no such host error, when I try telnet. What do I do now?
You can try sending an email as 'mymail#mydomain.com' after you log into google with 'myemail#gmail.com' If your account has an alias for 'mymail#mydomain.com' it should work. If that still fails you will need to use a service like mailchimp or sendgrid, or set up your own smtp server at smtp.mydomain.com.
I suggest you to use some service like mailchimp or sendgrid .