I got everything setup and I got the email to successfully send an email to me as a test and copy the images to my webserver directory and create the index file however I’m having an issue.
In the email no images load, if I copy the link of the picture and paste it into my browser it sends me to Plex, I login and it says the server your trying to access does not exist.
If I go to the webpage via localhost or via the domain from an external network the webpage loads as well as the images, But if I click the link it takes me to Plex, I sign in and get the same error as above. Images do not load in gmail or OS X mail. Opening the email on Outlook for iOS crashes the app. Also, clicking the view in web browser link does nothing.
I tried searching through this thread but cannot find anything similar to this.
Here are the relevant (what I feel is relevant anyways) lines from my config file
upload_use_cloudinary = False
web_enabled = True
web_only_save_images = False
web_domain = ‘plexemail.redacted.com’
web_path = ‘plexemail’
web_delete_previous_images = True
web_skip_if_no_additions = False
email_use_web_images = True
filter_include_plex_web_link = True
filter_show_email_images = True
edit: I think I discovered the problem, if I copy the non working image link from the email I get
and if I copy the working one from the webpage I get
So the email is adding an extra /plexemail/ into the location
web_folder = ‘E:\’
There are two slashes there when I submit it’s removing one of them.
E:\ goes to \wwwroot\ on my IIS server. The site is in wwwroot\plexemail
IIS redirects to \plexemail based on the incoming requests to the subdomain
redacted.com goes to the default site in IIS.
EDIT:
I had to create a virtual directory in my default site to /plexemail instead of the binding for the subdomain. and set my domain in the config to http://redacted/
My plex web links are still going to the wrong server ID. I dug through the python and found it pulls the server ID from the dlna db file, I setup Plex Home which I believe disables the DLNA feature and have since migrated my plex server to a couple of different machines. I believe that file still had the old server ID since it no longer uses DLNA. I opened the DB in and modified to the server ID that now shows up in my plex web links and now the Plex web links work as well. At least to my account, have not had someone test the link that access via a share.
