Jump to content

Client App: Email my Users New Media (new edition needs testing)


chef

Recommended Posts

I have edited the DL below with the new version!

 

 

 

https://dl.dropboxusercontent.com/u/46151346/ElectronicPressKit/ElectronicPressKit/bin/Debug/mail.zip

 

 

 

And this is what the email looks like:

 

EPKMail4.png

 

 

 

https://dl.dropboxusercontent.com/u/46151346/ElectronicPressKit/ElectronicPressKit/bin/Debug/mail.zip

Edited by chef
  • Like 8
Link to comment
Share on other sites

the download is up.

 

I think it looks good! Just have to make the program minimize to the task tray, and she's good.

Edited by chef
  • Like 1
Link to comment
Share on other sites

Great NEWS! This app now minimizes to the system tray!

 

I also fixed some minor issues! So, if your using it, download the new version!

 

@@Hydro

@@CBers (she's fixed)! :)

@@Sp3kt3r

 

Same link in OP!

Edited by chef
Link to comment
Share on other sites

Might want to update Name.

 

56283209d510e_Untitled.jpg

Haha! Yeah, I have emby app templates written for quick coding! You're on to me... Lol!

 

I'll get it fix ;)

Link to comment
Share on other sites

Happy2Play

Any reason my emails have logo and description under poster unlike your having them beside?

 

562839c97ad50_Capture.jpg

Link to comment
Share on other sites

Any reason my emails have logo and description under poster unlike your having them beside?

 

562839c97ad50_Capture.jpg

Which browser are you opening your email in?

 

Just wondering about the HTML code being displayed differently.

 

That particular part of the HTML table is built in side an img tag, Where as the other tables on the form are built inside a actual 'table' tag.

Edited by chef
Link to comment
Share on other sites

Happy2Play

That was via Outlook, in all browsers I get broken images.

Link to comment
Share on other sites

And Campaign just below it.

 

So is this a standalone app, or will it be a plugin?

Standalone. When I tried to write is it as a plugin, it was working for me, using the library manager interface, but wasn't working for other people.

 

The web client is a much easier object to work with, and you can gather user based library information. Plugins seem to gather user less library info. :) I wish it was a plugin.

Edited by chef
Link to comment
Share on other sites

Great work Chef, any chance you could add the option for us to use our own SMTP servers, I have an internal email server I would prefer to use rather than those presently in the options. 

  • Like 1
Link to comment
Share on other sites

Great work Chef, any chance you could add the option for us to use our own SMTP servers, I have an internal email server I would prefer to use rather than those presently in the options.

Will do. I'll add it shortly :)

  • Like 1
Link to comment
Share on other sites

@@Happy2Play

 

The logo image for the Max seems to be larger then other logos. I believe this ibe if the reasons the overview and logo appear under the folder image.

 

I am going to code a quick condition to scale larger images down more then what is currently written. I think this will stop the HTML tables from breaking when the image is too large for there size.

Link to comment
Share on other sites

shorty1483

I don't receive any email and the test email process is "sending..." all the time on both GMX and GMail.

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.MediaSearch.VB$StateMachine_3_GetLatestMedia.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   bei EPK.EmailClient.VB$StateMachine_0_Send.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.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.
----------------------------------------
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.
----------------------------------------
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.
----------------------------------------
Newtonsoft.Json
    Assembly-Version: 6.0.0.0.
    Win32-Version: 6.0.8.18111.
    CodeBase: file:///J:/Emby-Server/EPK/Newtonsoft.Json.DLL.
----------------------------------------
System.Numerics
    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.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll.
----------------------------------------
System.Runtime.Serialization
    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.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll.
----------------------------------------
System.Xml.Linq
    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.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll.
----------------------------------------
System.Data
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.34209 built by: FX452RTMGDR.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.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.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.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.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.

Edited by shorty1483
Link to comment
Share on other sites

@@Oxide You can now add a customized SMTP server with latest version. Link in the OP :)

 

Let me know if you run into trouble with it :)

Edited by chef
  • Like 1
Link to comment
Share on other sites

@@shorty1483

 

I had this happen to me.

 

It has to do with your emby settings and what is considered "Latest Media".

 

If you un-check "Hide Watched Content from Latest", under your settings then all your latest media will show up on the home screen, as well as get returned back from the API Latest Media Query.

 

 

explainlatest.png

 

Please let me know if you have more issues :)

  • Like 1
Link to comment
Share on other sites

shorty1483

@@shorty1483

 

I had this happen to me.

 

 

 

Please let me know if you have more issues :)

 

Set it up you like you, still no outgoing E-Mail :(

 

Edit: Google threw out a security Message because of an app to not fitting the security standards, but GMX works. Thanks!

 

Edit 2: My Media Storage reboots itself every morning, to get a scheduled auto start is no problem, but how do I get your great tool to auto start with user login and then activate campaign mode @@chef ?

Edited by shorty1483
Link to comment
Share on other sites

 

 

So, when the computer re starts, the app should start, and then auto login.

 

I think I can get it to do that. I will make it an optional thing with a check box.

 

But, Gmail threw a security error? Interesting, I wonder why...

  • Like 1
Link to comment
Share on other sites

shorty1483

So, when the computer re starts, the app should start, and then auto login.

 

I think I can get it to do that. I will make it an optional thing with a check box.

 

But, Gmail threw a security error? Interesting, I wonder why...

 

computer restarts -> app start minimized -> auto login -> start scheduled campaign with defined time

 

I used GMail as the sending part. Perhaps an IMAP or SSL/TLS issue?

Edited by shorty1483
Link to comment
Share on other sites

computer restarts -> app start minimized -> auto login -> start scheduled campaign with defined time

I like it! I'll code it tonight :)

 

Did the google account error just the one time or was it everytime? I'll look into that as well.

 

Maybe there is a library on the internet that can do something about security.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...