How to access gmail

44 views
Skip to first unread message

TASLIMA S

unread,
Aug 26, 2023, 9:30:31 PM8/26/23
to django...@googlegroups.com

Dear friends,
I am developing an email signature web application. 
How to access gmail mails to my application.

Kasper Laudrup

unread,
Aug 27, 2023, 2:23:38 PM8/27/23
to django...@googlegroups.com
https://developers.google.com/gmail/api/guides

Kind regards,
Kasper Laudrup
OpenPGP_0xE5D9CAC64AAA55EB.asc
OpenPGP_signature.asc

Carl Karsten

unread,
Aug 27, 2023, 2:51:41 PM8/27/23
to django...@googlegroups.com
Assuming the question is: "How do I send mail using my gmail account?"

ret = connection.send_messages([email])
https://github.com/CarlFK/veyepar/blob/master/dj/scripts/email_ab.py#L140

In my local_settings.py:

EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER="ca...@NextDayVideo.com"
EMAIL_HOST_PASSWORD="mypassword"
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2e0feaab-2b9d-4901-9546-299a81e5ac3e%40stacktrace.dk.



--
Carl K
Reply all
Reply to author
Forward
0 new messages