Email Script Help

Started by mike, February 18, 2019, 08:30:43 PM

Previous topic - Next topic

Tuicemen

Wow! That was simple enough, and no dizzy spell  rofl.
Now to test everything during night and day. ::) :'
Please Read Topic:
General Forum Etiquette
Before you post!

mike

You Are amazing!   I will learn from this and challenge you more often!   :)

mike

Do you think if I download your latest Sd image it would send email for me too?

Tuicemen

Quote from: mike on February 21, 2019, 07:38:45 PM
You Are amazing!   I will learn from this and challenge you more often!   :)
rofl Well I finished testing and all works as I designed (may not be how others wish it to perform) now to clean and polish up the code.
Quote from: mike on February 21, 2019, 07:39:43 PM
Do you think if I download your latest Sd image it would send email for me too?
The latest image may fix your issue as HG is where Gene designed it to be and it is locked to a mono version which is suppose to solve the email issues bkenobi references.
However since the consensus was to remove HA-Bridge from the image that is no longer on it, but you should have no problem installing it following the set by step I posted here  http://forums.x10.com/index.php?topic=30440.msg175106#msg175106
you will need to be sure Homegenie is not on port 80 prior to installing HA-Bridge
Please Read Topic:
General Forum Etiquette
Before you post!

mike

I'm pretty sure my mono is the same one from your image so I doubt that is the issue.

mono --version
Mono JIT compiler version 5.4.0.201 (tarball Fri Oct 13 22:19:03 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  armel,vfp+hard
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen (concurrent by default)

Tuicemen

yep, I wasn't sure you stuck with it or were on the latest build.

I posted my Smart_E-mailer program as I got it all cleaned up and tested with different devices.
http://forums.x10.com/index.php?topic=30881.0
>!
Please Read Topic:
General Forum Etiquette
Before you post!

mike

Quote from: bkenobi on February 21, 2019, 11:20:12 AM
Just to make sure you completed all the steps, did you set up certificates for your specific email host?

I don't have my install script in front of me, but part of the setup process is getting certificates set up.  I believe the line you need to verify is:

certmgr -ssl smtps://smtp.gmail.com:465

I know I've posted the script somewhere, but don't remember which forums.  It's at home and on my flash drive (which is at home).  The command above was found by asking google about "raspberry mono certificate gmail" in case you need more info.  My script also has a line that can be used to test if the certificates are correctly installed, but I don't recall what that command is.  Google should be able to help.

If you could find your post on this and post it here I would be forever grateful!

bkenobi

Was sick last night and spent a few hours shivering under a blanket.  Will try to get to it this weekend.

mike

Hey bkenobi get well first!   I can wait!  I hear the flu is going around strong this year!  Stay warm and get better!

SMF spam blocked by CleanTalk