Oxide 139 Posted October 27, 2015 Share Posted October 27, 2015 @@chef Thanks for adding the custom SMTP option, but for the life of me I can't get it working. I've tried putting in the IP address and FQDN of my mail server but nothing sends. I've checked the log in the mail server and there is nothing to even indicate that EPK even tried to connect Both EPK and my mail server are running on the same PC. Is anyone else successfully using the custom SMTP option? 1 Link to comment Share on other sites More sharing options...
Happy2Play 8238 Posted October 27, 2015 Share Posted October 27, 2015 @@chef Thanks for adding the custom SMTP option, but for the life of me I can't get it working. I've tried putting in the IP address and FQDN of my mail server but nothing sends. I've checked the log in the mail server and there is nothing to even indicate that EPK even tried to connect Both EPK and my mail server are running on the same PC. Is anyone else successfully using the custom SMTP option? Are you starting the campaign before trying to send a test message? 1 Link to comment Share on other sites More sharing options...
Oxide 139 Posted October 27, 2015 Share Posted October 27, 2015 Yeah, tried that, I also changed the schedule to 2 minutes ahead of the current time and waited but nothing was sent 1 Link to comment Share on other sites More sharing options...
chef 3745 Posted October 27, 2015 Author Share Posted October 27, 2015 The custom SMTP setting might be setup badly. Once you create the custom SMTP setting, it should add itself to the drop down list. You would then have to choose it from the list. I'll take another look here to see if I messed up the code somewhere. Link to comment Share on other sites More sharing options...
Oxide 139 Posted October 27, 2015 Share Posted October 27, 2015 (edited) Thanks @@chef I did select the my custom SMTP server in the drop list and had saved the selection. Edited October 27, 2015 by Oxide 1 Link to comment Share on other sites More sharing options...
Hydro 5 Posted October 27, 2015 Share Posted October 27, 2015 Work well with gmail Awesome plugin ! 1 Link to comment Share on other sites More sharing options...
chef 3745 Posted October 27, 2015 Author Share Posted October 27, 2015 Thanks @@chef I did select the my custom SMTP server in the drop list and had saved the selection. I've probably got to take a look at how it is saving to the settings XML. It wasn't really tested... I'll be back Link to comment Share on other sites More sharing options...
shorty1483 450 Posted October 27, 2015 Share Posted October 27, 2015 @@chef Email sending after reboot did not work with the version from yesterday. EPK starts after reboot but no email is sent unfortunately. Gesendet von meinem HTC One M8 mit Tapatalk 1 Link to comment Share on other sites More sharing options...
chef 3745 Posted October 27, 2015 Author Share Posted October 27, 2015 (edited) @@chef Email sending after reboot did not work with the version from yesterday. EPK starts after reboot but no email is sent unfortunately. Gesendet von meinem HTC One M8 mit Tapatalk Okay, I will check that the timer is started properly Edit: I just had emails fail... It would seem the more images attached the higher the odds the mail will fail. I will try to write a redundant mail client call, to resend if there is an error. Edited October 27, 2015 by chef Link to comment Share on other sites More sharing options...
shorty1483 450 Posted October 27, 2015 Share Posted October 27, 2015 Okay, I will check that the timer is started properly Edit: I just had emails fail... It would seem the more images attached the higher the odds the mail will fail. I will try to write a redundant mail client call, to resend if there is an error. Wasn't at home when I wrote the post. Just rechecked and found the error. When rebooting, the app is auto started and auto logs in as requested. But the campaign timer is not started and the shown time in app is the boot up time. 1 Link to comment Share on other sites More sharing options...
chef 3745 Posted October 28, 2015 Author Share Posted October 28, 2015 @@shorty1483 Found the culprit and put a new release. Inside the settings.xml, make sure that your emby password is saved under "EmbyCredentials" - "Password" If it is not, then please set "AutoLogin" to false, save the xml and restart the app. After this you will be able to check the checkbox to auto-login again, and all will be fine. Sorry for the hassle. 2 Link to comment Share on other sites More sharing options...
shorty1483 450 Posted October 29, 2015 Share Posted October 29, 2015 (edited) When booting up PC with latest version auto start: When an E-Mail is sending, most of the time I got this: Informationen über das Aufrufen von JIT-Debuggen anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung. ************** Ausnahmetext ************** System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei EPK.LoginPage.VB$StateMachine_2_ShowUserList.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__4(Object state) ************** Geladene Assemblys ************** mscorlib Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR. CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll. ---------------------------------------- EPK Assembly-Version: 1.0.0.0. Win32-Version: 1.0.0.0. CodeBase: file:///J:/Emby-Server/EPK/EPK.exe. ---------------------------------------- Microsoft.VisualBasic Assembly-Version: 10.0.0.0. Win32-Version: 12.0.51209.34209 built by: FX452RTMGDR. CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll. ---------------------------------------- System Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR. CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll. ---------------------------------------- System.Core Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR. CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll. ---------------------------------------- System.Windows.Forms Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR. CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll. ---------------------------------------- System.Drawing Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR. CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll. ---------------------------------------- System.Runtime.Remoting Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR. CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll. ---------------------------------------- MediaBrowser.Model Assembly-Version: 3.0.5666.4. Win32-Version: 3.0.5666.4. CodeBase: file:///J:/Emby-Server/EPK/MediaBrowser.Model.DLL. ---------------------------------------- MediaBrowser.ApiInteraction Assembly-Version: 3.0.5664.41652. Win32-Version: 3.0.5664.41652. CodeBase: file:///J:/Emby-Server/EPK/MediaBrowser.ApiInteraction.DLL. ---------------------------------------- System.Configuration Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR. CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll. ---------------------------------------- System.Xml Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.34234 built by: FX452RTMGDR. CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll. ---------------------------------------- Microsoft.GeneratedCode Assembly-Version: 1.0.0.0. Win32-Version: 4.0.30319.34234 built by: FX452RTMGDR. CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll. ---------------------------------------- mscorlib.resources Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR. CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll. ---------------------------------------- System.Windows.Forms.resources Assembly-Version: 4.0.0.0. Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR. CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll. ---------------------------------------- ************** JIT-Debuggen ************** Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der Konfigurationsdatei der Anwendung oder des Computers (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden. Die Anwendung muss mit aktiviertem Debuggen kompiliert werden. Zum Beispiel: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> Wenn das JIT-Debuggen aktiviert ist, werden alle Ausnahmefehler an den JIT-Debugger gesendet, der auf dem Computer registriert ist, und nicht in diesem Dialogfeld behandelt. I've set up to send 10 items. When I got it to work, I get an E-Mail with 10 movies and just one newest episode of one series instead of 10. Edited October 29, 2015 by shorty1483 Link to comment Share on other sites More sharing options...
chef 3745 Posted October 29, 2015 Author Share Posted October 29, 2015 (edited) Sorry newest build should fix issues. I think there might be one issue with auto start, if the email app starts before emby server, it will error because there is no interface. If this version doesn't sort it out then, we'll have to figure out how to start the email app after the emby server has loaded. That might take some thinking... Edited October 29, 2015 by chef Link to comment Share on other sites More sharing options...
chef 3745 Posted October 31, 2015 Author Share Posted October 31, 2015 New version fixes Email timer not starting on auto-load. 1 Link to comment Share on other sites More sharing options...
b0dyr0ck2006 57 Posted November 16, 2015 Share Posted November 16, 2015 I dont seem to be getting any emails sent out at all, not even the test email 1 Link to comment Share on other sites More sharing options...
b0dyr0ck2006 57 Posted January 18, 2016 Share Posted January 18, 2016 I assume this has been abandoned? Link to comment Share on other sites More sharing options...
chef 3745 Posted January 18, 2016 Author Share Posted January 18, 2016 I could fix it. If this is something you'd like to use. It has been a while, it was broken. I'll take a look in a bit 1 Link to comment Share on other sites More sharing options...
Happy2Play 8238 Posted January 18, 2016 Share Posted January 18, 2016 Test email worked for me. 1 Link to comment Share on other sites More sharing options...
chef 3745 Posted January 18, 2016 Author Share Posted January 18, 2016 (edited) I think what I can do is take the code back to basics. Remove the auto run features, and make it do the simple task of finding new media, splitting it into types, and emailing the html to look like the server. Edited January 18, 2016 by chef Link to comment Share on other sites More sharing options...
chef 3745 Posted January 19, 2016 Author Share Posted January 19, 2016 (edited) Uploaded something new. Basic. Make sure your password is written correctly, and that the email client you wish to use saved, you should be able to get it working. I may put a bit more time into it if there is interest. Edited January 19, 2016 by chef 1 Link to comment Share on other sites More sharing options...
Oxide 139 Posted January 19, 2016 Share Posted January 19, 2016 Thanks for the update and time you have put into this @@chef I really appreciate your mad coding skills I've given it another try with your updated version but still can't get the email to send to my local SMTP server, looking in the mail server logs there is nothing showing any connection is taking place from EPK Other Apps on my system like Emby and PFSense send me emails no problem so I'm sure it's not a mail server issue. Any ideas? Link to comment Share on other sites More sharing options...
chef 3745 Posted January 19, 2016 Author Share Posted January 19, 2016 Does the test email send something to your inbox? Is your password spelled correctly in the email setup. I will take another look. Link to comment Share on other sites More sharing options...
Oxide 139 Posted January 19, 2016 Share Posted January 19, 2016 Nothing gets sent, and there is nothing in the mail logs. If the password was incorrect then it would show up in the logs. As another test I set the password to 12345 on both the email server and EPK but no go. As far as I can tell the other apps use "Plain" as the Notification E-Mail auth mechanism. The mail server it is set to accept SMTP traffic on ports 25, 465 & 587 Link to comment Share on other sites More sharing options...
chef 3745 Posted January 19, 2016 Author Share Posted January 19, 2016 (edited) Oh I just realized it is a custom SMTP server you are using (in a sense it is not I. The list of server choices). Okay, I know where to look. Sorry I was slow on the up take... Edited January 19, 2016 by chef 1 Link to comment Share on other sites More sharing options...
chef 3745 Posted January 19, 2016 Author Share Posted January 19, 2016 (edited) Once you add the new smtp server info, are you choosing it from the drop down list in the email configuration page? Edited January 19, 2016 by chef Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now