Comments on: Sending email with python without an MTA https://moythreads.com/wordpress/2015/07/09/sending-email-with-python-without-an-mta/ Abandon All Hope, Ye Who Read This Blog Fri, 14 Aug 2020 20:06:49 +0000 hourly 1 https://wordpress.org/?v=5.1.9 By: imdadhussain https://moythreads.com/wordpress/2015/07/09/sending-email-with-python-without-an-mta/comment-page-1/#comment-17785 Sat, 16 Sep 2017 06:49:58 +0000 http://www.moythreads.com/wordpress/?p=280#comment-17785 I have try your just to send mail for notification.
It give me error
SMTPRecipientsRefused: {‘my email id ‘: (550, “Mail rejected by for policy reasons. We generally do not accept email from dynamic IP’s as they are typically used to deliver unauthenticated SMTP e-mail to an Internet mail server. http://www.spamhaus.org maintains lists of dynamic and residential IP addresses. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please contact for email delivery information and support”)}

]]>
By: Christian https://moythreads.com/wordpress/2015/07/09/sending-email-with-python-without-an-mta/comment-page-1/#comment-16911 Wed, 16 Aug 2017 16:24:42 +0000 http://www.moythreads.com/wordpress/?p=280#comment-16911 Good idea!
However, i guess this only works when:
a) Your mailserver at ‘dest-server.com’ does not check for a valid certificate for the sending MTA?
b) Your mailserver at ‘dest-server.com’ does not demand TLS encryption?
c) You don’t send your emails to ‘gmail.com’ or ‘yahoo.com’ or any other big MTA, that demands the above mentioned points?

Would be interesting to have an example that can deal with these “advanced” features.

]]>
By: moy https://moythreads.com/wordpress/2015/07/09/sending-email-with-python-without-an-mta/comment-page-1/#comment-11755 Sat, 30 Jul 2016 13:35:03 +0000 http://www.moythreads.com/wordpress/?p=280#comment-11755 @Brenden, glad that was of use to you. Cheers.

]]>
By: Brenden https://moythreads.com/wordpress/2015/07/09/sending-email-with-python-without-an-mta/comment-page-1/#comment-11281 Fri, 10 Jun 2016 20:48:36 +0000 http://www.moythreads.com/wordpress/?p=280#comment-11281 This is exactly what I needed. I just wanted a python program to be checking the status of a web service, and to send an email if it couldn’t connect properly. Thanks!!!

]]>