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 .
Related
I am using smtp to send emails in django app but for some reasons it stops working and i found this on the google page.
I do not want to use SendGrid or others.because in my app i send more than 1000000 emails per semester and it was working well before this new condition.
How can i solve this problem ? Thanks.
Try to create an application token in the Google account you use to send the emails with and use it instead of your usual email password.
Have a look at this link: Authorizing Your App with Gmail
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!
I have a django app where users can send emails through the app to contacts that they upload themselves. I use Sendgrid to send the email and the recipient receives an email from a "white-label" address like hello#mydomain.com
Now, I would like to implement a system where I can allow users to send emails through our app but that those emails are sent by their own email address. To make it simple, let's just consider "Gmail" and if a user want they can "login with their gmail account" on my app and then send emails from my app that are sent from their account... I know that Gmail has an API and I wonder if I can leverage it to do what I need.
You can definitely send emails using Gmail API methods but keep in mind the below stated in their official documentation:
Note: The Gmail API shouldn't be used to replace IMAP for developing a
full-fledged email client. Instead, see IMAP, POP, and SMTP.
As they recommend, you could integrate IMAP/SMTP features in your application so users can authenticate/provide access to their accounts and achieve your goal of having emails sent from their accounts.
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'.
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 :)