Open dvdp opened 8 years ago
Thanks for the kind words Danny. Handling inline images is a reasonably complicated job. The SBM plugin did not take that job on, because dealing with MIME is complicated enough for a single plugin.
However, there is a plugin, the inlineImages plugin, that will take care of sending out messages containing inline images. You will find it at https://resources.phplist.com/plugins/inlineimage https://resources.phplist.com/plugins/inlineimage . I see no reason why one of your users could not submit a message through SBM and then have it go out incorporating an inline image, provided the image to be incorporated inline was available somewhere online.
The SBM plugin itself cannot be easily tweaked to handle inlineImages in messages submitted. Sorry about that.
Arnold
On Mar 1, 2016, at 10:03 AM, dvdp notifications@github.com wrote:
Hi Arnold,
We've been using this great module for some months now - works perfect. First of all it makes it really easy and fast to submit a mesHi, Dsage and secondly, I don't need to manage users within phpList for submitting messages. There is one thing that we've run into a few times though: submit messages with a jpg image inline or attached always results in 'escrowed and discarded - mime type not allowed'. Any chance the code can be tweaked a little so that it is a somewhat less picky on the mime formatting. Our users are just using mail clients like MS Outlook to compose a mail with an image and/or foooter so not 'special' mime stuff at all.
TIA Danny
— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/10.
Thanks for your speedy reply Arnold,
Actually, sending a message with an image works fine when I'm using the default phpList web interface, it's only when using an inline image with SBM that fails. Handling all the mime stuff is complicated indeed, I just hoped that passing inline images with SBM would't be that hard to do. Since you're experienced, it must be hard indeed - bad luck. Using an image that's available somewhere online works indeed, Avast adds some publicity to mails with a logo from their site (png) and that get's through nicely using SBM. I guess there's more people that would like inline images - even just one type e.g. jpg) - so if you ever feel the urge to add something extra ;-)
br Danny
----- Oorspronkelijk bericht -----
Van: "arnoldle" notifications@github.com Aan: "arnoldle/phplist-plugin-submitByMailPlugin" phplist-plugin-submitByMailPlugin@noreply.github.com Cc: "dvdp" danny.vandepol@telenet.be Verzonden: Dinsdag 1 maart 2016 20:21:09 Onderwerp: Re: [phplist-plugin-submitByMailPlugin] Submit with jpg in message (#10)
Thanks for the kind words Danny. Handling inline images is a reasonably complicated job. The SBM plugin did not take that job on, because dealing with MIME is complicated enough for a single plugin.
However, there is a plugin, the inlineImages plugin, that will take care of sending out messages containing inline images. You will find it at https://resources.phplist.com/plugins/inlineimage https://resources.phplist.com/plugins/inlineimage . I see no reason why one of your users could not submit a message through SBM and then have it go out incorporating an inline image, provided the image to be incorporated inline was available somewhere online.
The SBM plugin itself cannot be easily tweaked to handle inlineImages in messages submitted. Sorry about that.
Arnold
On Mar 1, 2016, at 10:03 AM, dvdp notifications@github.com wrote:
Hi Arnold,
We've been using this great module for some months now - works perfect. First of all it makes it really easy and fast to submit a mesHi, Dsage and secondly, I don't need to manage users within phpList for submitting messages. There is one thing that we've run into a few times though: submit messages with a jpg image inline or attached always results in 'escrowed and discarded - mime type not allowed'. Any chance the code can be tweaked a little so that it is a somewhat less picky on the mime formatting. Our users are just using mail clients like MS Outlook to compose a mail with an image and/or foooter so not 'special' mime stuff at all.
TIA Danny
— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/10.
— Reply to this email directly or view it on GitHub .
If you take a look at the inlineImage plugin, what it does is to take at image online, from your own website perhaps, or the website of a user, and then incorporates that image inline into the message. So that the messages are sent out with that image inline inside the message, and completely independent of the original image online. The online image can be removed, and the image in the message will remain. The online image does not even need to be publicly available, if it is available to the Phplist software.
Your Avast user should have no trouble incorporating the Logo using the inline image plugin. In the message sent through SBM all they have to do is to insert the usual HTML image tag with the “src” pointing to the image location. The image tag must be in the “inline” class, (for example ). The inline image plugin will then incorporate the image inline into the message distributed to the subscribers.
Arnold
On Mar 1, 2016, at 1:36 PM, dvdp notifications@github.com wrote:
Thanks for your speedy reply Arnold,
Actually, sending a message with an image works fine when I'm using the default phpList web interface, it's only when using an inline image with SBM that fails. Handling all the mime stuff is complicated indeed, I just hoped that passing inline images with SBM would't be that hard to do. Since you're experienced, it must be hard indeed - bad luck. Using an image that's available somewhere online works indeed, Avast adds some publicity to mails with a logo from their site (png) and that get's through nicely using SBM. I guess there's more people that would like inline images - even just one type e.g. jpg) - so if you ever feel the urge to add something extra ;-)
br Danny
----- Oorspronkelijk bericht -----
Van: "arnoldle" notifications@github.com Aan: "arnoldle/phplist-plugin-submitByMailPlugin" phplist-plugin-submitByMailPlugin@noreply.github.com Cc: "dvdp" danny.vandepol@telenet.be Verzonden: Dinsdag 1 maart 2016 20:21:09 Onderwerp: Re: [phplist-plugin-submitByMailPlugin] Submit with jpg in message (#10)
Thanks for the kind words Danny. Handling inline images is a reasonably complicated job. The SBM plugin did not take that job on, because dealing with MIME is complicated enough for a single plugin.
However, there is a plugin, the inlineImages plugin, that will take care of sending out messages containing inline images. You will find it at https://resources.phplist.com/plugins/inlineimage https://resources.phplist.com/plugins/inlineimage . I see no reason why one of your users could not submit a message through SBM and then have it go out incorporating an inline image, provided the image to be incorporated inline was available somewhere online.
The SBM plugin itself cannot be easily tweaked to handle inlineImages in messages submitted. Sorry about that.
Arnold
On Mar 1, 2016, at 10:03 AM, dvdp notifications@github.com wrote:
Hi Arnold,
We've been using this great module for some months now - works perfect. First of all it makes it really easy and fast to submit a mesHi, Dsage and secondly, I don't need to manage users within phpList for submitting messages. There is one thing that we've run into a few times though: submit messages with a jpg image inline or attached always results in 'escrowed and discarded - mime type not allowed'. Any chance the code can be tweaked a little so that it is a somewhat less picky on the mime formatting. Our users are just using mail clients like MS Outlook to compose a mail with an image and/or foooter so not 'special' mime stuff at all.
TIA Danny
— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/10.
— Reply to this email directly or view it on GitHub .
— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/10#issuecomment-190867319.
Hi Arnold,
Thanks for elaborating - I'm a bit confused now: after one of my SBM users flagged the image/mime problem, I took over and used the phpList web interface to launch the message. Adding an image using the phpList web interface worked just fine 'out of the box' (without the inlineimage plugin). I don't remember the details but if I'm not mistaken, the image button on the message editor allows you to browse for an image and that image gets uploaded to the website's media folder. (the stuff about the Avast logo was just informational - that works just fine because it's just a link to an image somewhere on the www). My primary goal is to make it as simple as possible for the users to launch a message. That's exactly what SBM does so we're very happy with it. Having images in the SBM submit message would be great, that's all. As a workaround, I instructed to put the images in a PDF attachment. The only drawback is that the recipients need to take 2 steps: open the mail and open the attachment, so be it ...
Thanks again, Danny
----- Oorspronkelijk bericht -----
Van: "arnoldle" notifications@github.com Aan: "arnoldle/phplist-plugin-submitByMailPlugin" phplist-plugin-submitByMailPlugin@noreply.github.com Cc: "dvdp" danny.vandepol@telenet.be Verzonden: Dinsdag 1 maart 2016 20:51:24 Onderwerp: Re: [phplist-plugin-submitByMailPlugin] Submit with jpg in message (#10)
If you take a look at the inlineImage plugin, what it does is to take at image online, from your own website perhaps, or the website of a user, and then incorporates that image inline into the message. So that the messages are sent out with that image inline inside the message, and completely independent of the original image online. The online image can be removed, and the image in the message will remain. The online image does not even need to be publicly available, if it is available to the Phplist software.
Your Avast user should have no trouble incorporating the Logo using the inline image plugin. In the message sent through SBM all they have to do is to insert the usual HTML image tag with the “src” pointing to the image location. The image tag must be in the “inline” class, (for example ). The inline image plugin will then incorporate the image inline into the message distributed to the subscribers.
Arnold
On Mar 1, 2016, at 1:36 PM, dvdp notifications@github.com wrote:
Thanks for your speedy reply Arnold,
Actually, sending a message with an image works fine when I'm using the default phpList web interface, it's only when using an inline image with SBM that fails. Handling all the mime stuff is complicated indeed, I just hoped that passing inline images with SBM would't be that hard to do. Since you're experienced, it must be hard indeed - bad luck. Using an image that's available somewhere online works indeed, Avast adds some publicity to mails with a logo from their site (png) and that get's through nicely using SBM. I guess there's more people that would like inline images - even just one type e.g. jpg) - so if you ever feel the urge to add something extra ;-)
br Danny
----- Oorspronkelijk bericht -----
Van: "arnoldle" notifications@github.com Aan: "arnoldle/phplist-plugin-submitByMailPlugin" phplist-plugin-submitByMailPlugin@noreply.github.com Cc: "dvdp" danny.vandepol@telenet.be Verzonden: Dinsdag 1 maart 2016 20:21:09 Onderwerp: Re: [phplist-plugin-submitByMailPlugin] Submit with jpg in message (#10)
Thanks for the kind words Danny. Handling inline images is a reasonably complicated job. The SBM plugin did not take that job on, because dealing with MIME is complicated enough for a single plugin.
However, there is a plugin, the inlineImages plugin, that will take care of sending out messages containing inline images. You will find it at https://resources.phplist.com/plugins/inlineimage https://resources.phplist.com/plugins/inlineimage . I see no reason why one of your users could not submit a message through SBM and then have it go out incorporating an inline image, provided the image to be incorporated inline was available somewhere online.
The SBM plugin itself cannot be easily tweaked to handle inlineImages in messages submitted. Sorry about that.
Arnold
On Mar 1, 2016, at 10:03 AM, dvdp notifications@github.com wrote:
Hi Arnold,
We've been using this great module for some months now - works perfect. First of all it makes it really easy and fast to submit a mesHi, Dsage and secondly, I don't need to manage users within phpList for submitting messages. There is one thing that we've run into a few times though: submit messages with a jpg image inline or attached always results in 'escrowed and discarded - mime type not allowed'. Any chance the code can be tweaked a little so that it is a somewhat less picky on the mime formatting. Our users are just using mail clients like MS Outlook to compose a mail with an image and/or foooter so not 'special' mime stuff at all.
TIA Danny
— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/10.
— Reply to this email directly or view it on GitHub .
— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/10#issuecomment-190867319.
— Reply to this email directly or view it on GitHub .
Phplist has always had a process for adding inline images. The Phplist logo, which appears at the end of the message, is an inline image. But, as I recall, you could not add an inline image directly in the editor. And at the process was reasonably involved and at that time not very well documented. That process was and is completely independent of the inlineImage plugin.
What the inlineImage plugin does is to make the process of adding an inline image much easier. And it should be able to do that even with messages submitted with the SBM plugin, as along as your user makes the image available on the web for as long as it takes to send out the message.
Rather than my trying too explain more here, why don’t you just take a look at the documentation at https://resources.phplist.com/plugins/inlineimage https://resources.phplist.com/plugins/inlineimage . It won’t cost you a cent! :-)
Arnold
On Mar 2, 2016, at 2:24 AM, dvdp notifications@github.com wrote:
Hi Arnold,
Thanks for elaborating - I'm a bit confused now: after one of my SBM users flagged the image/mime problem, I took over and used the phpList web interface to launch the message. Adding an image using the phpList web interface worked just fine 'out of the box' (without the inlineimage plugin). I don't remember the details but if I'm not mistaken, the image button on the message editor allows you to browse for an image and that image gets uploaded to the website's media folder. (the stuff about the Avast logo was just informational - that works just fine because it's just a link to an image somewhere on the www). My primary goal is to make it as simple as possible for the users to launch a message. That's exactly what SBM does so we're very happy with it. Having images in the SBM submit message would be great, that's all. As a workaround, I instructed to put the images in a PDF attachment. The only drawback is that the recipients need to take 2 steps: open the mail and open the attachment, so be it ...
Thanks again, Danny
----- Oorspronkelijk bericht -----
Van: "arnoldle" notifications@github.com Aan: "arnoldle/phplist-plugin-submitByMailPlugin" phplist-plugin-submitByMailPlugin@noreply.github.com Cc: "dvdp" danny.vandepol@telenet.be Verzonden: Dinsdag 1 maart 2016 20:51:24 Onderwerp: Re: [phplist-plugin-submitByMailPlugin] Submit with jpg in message (#10)
If you take a look at the inlineImage plugin, what it does is to take at image online, from your own website perhaps, or the website of a user, and then incorporates that image inline into the message. So that the messages are sent out with that image inline inside the message, and completely independent of the original image online. The online image can be removed, and the image in the message will remain. The online image does not even need to be publicly available, if it is available to the Phplist software.
Your Avast user should have no trouble incorporating the Logo using the inline image plugin. In the message sent through SBM all they have to do is to insert the usual HTML image tag with the “src” pointing to the image location. The image tag must be in the “inline” class, (for example
). The inline image plugin will then incorporate the image inline into the message distributed to the subscribers.
Arnold
On Mar 1, 2016, at 1:36 PM, dvdp notifications@github.com wrote:
Thanks for your speedy reply Arnold,
Actually, sending a message with an image works fine when I'm using the default phpList web interface, it's only when using an inline image with SBM that fails. Handling all the mime stuff is complicated indeed, I just hoped that passing inline images with SBM would't be that hard to do. Since you're experienced, it must be hard indeed - bad luck. Using an image that's available somewhere online works indeed, Avast adds some publicity to mails with a logo from their site (png) and that get's through nicely using SBM. I guess there's more people that would like inline images - even just one type e.g. jpg) - so if you ever feel the urge to add something extra ;-)
br Danny
----- Oorspronkelijk bericht -----
Van: "arnoldle" notifications@github.com Aan: "arnoldle/phplist-plugin-submitByMailPlugin" phplist-plugin-submitByMailPlugin@noreply.github.com Cc: "dvdp" danny.vandepol@telenet.be Verzonden: Dinsdag 1 maart 2016 20:21:09 Onderwerp: Re: [phplist-plugin-submitByMailPlugin] Submit with jpg in message (#10)
Thanks for the kind words Danny. Handling inline images is a reasonably complicated job. The SBM plugin did not take that job on, because dealing with MIME is complicated enough for a single plugin.
However, there is a plugin, the inlineImages plugin, that will take care of sending out messages containing inline images. You will find it at https://resources.phplist.com/plugins/inlineimage https://resources.phplist.com/plugins/inlineimage . I see no reason why one of your users could not submit a message through SBM and then have it go out incorporating an inline image, provided the image to be incorporated inline was available somewhere online.
The SBM plugin itself cannot be easily tweaked to handle inlineImages in messages submitted. Sorry about that.
Arnold
On Mar 1, 2016, at 10:03 AM, dvdp notifications@github.com wrote:
Hi Arnold,
We've been using this great module for some months now - works perfect. First of all it makes it really easy and fast to submit a mesHi, Dsage and secondly, I don't need to manage users within phpList for submitting messages. There is one thing that we've run into a few times though: submit messages with a jpg image inline or attached always results in 'escrowed and discarded - mime type not allowed'. Any chance the code can be tweaked a little so that it is a somewhat less picky on the mime formatting. Our users are just using mail clients like MS Outlook to compose a mail with an image and/or foooter so not 'special' mime stuff at all.
TIA Danny
— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/10.
— Reply to this email directly or view it on GitHub .
— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/10#issuecomment-190867319.
— Reply to this email directly or view it on GitHub .
— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/10#issuecomment-191125424.
Hi again,
Actually, I found that adding an inline image went pretty smooth with the editor but I'm in ICT so I guess I'm a little (or better very) biased. BTW, I did take a look at the (your) InlineImage plugin. The thing is that the web gui is too much hassle for the persons that are submitting to our lists. That's why I like SBM so much - it makes things extremely simple and straightforward: just mail & confirm with one click. So, for the time being, no images in the submit mail - would be a great feature but it's not a showstopper and it's still a great plugin.
Danny
----- Oorspronkelijk bericht -----
Van: "arnoldle" notifications@github.com Aan: "arnoldle/phplist-plugin-submitByMailPlugin" phplist-plugin-submitByMailPlugin@noreply.github.com Cc: "dvdp" danny.vandepol@telenet.be Verzonden: Woensdag 2 maart 2016 16:47:19 Onderwerp: Re: [phplist-plugin-submitByMailPlugin] Submit with jpg in message (#10)
Phplist has always had a process for adding inline images. The Phplist logo, which appears at the end of the message, is an inline image. But, as I recall, you could not add an inline image directly in the editor. And at the process was reasonably involved and at that time not very well documented. That process was and is completely independent of the inlineImage plugin.
What the inlineImage plugin does is to make the process of adding an inline image much easier. And it should be able to do that even with messages submitted with the SBM plugin, as along as your user makes the image available on the web for as long as it takes to send out the message.
Rather than my trying too explain more here, why don’t you just take a look at the documentation at https://resources.phplist.com/plugins/inlineimage https://resources.phplist.com/plugins/inlineimage . It won’t cost you a cent! :-)
Arnold
On Mar 2, 2016, at 2:24 AM, dvdp notifications@github.com wrote:
Hi Arnold,
Thanks for elaborating - I'm a bit confused now: after one of my SBM users flagged the image/mime problem, I took over and used the phpList web interface to launch the message. Adding an image using the phpList web interface worked just fine 'out of the box' (without the inlineimage plugin). I don't remember the details but if I'm not mistaken, the image button on the message editor allows you to browse for an image and that image gets uploaded to the website's media folder. (the stuff about the Avast logo was just informational - that works just fine because it's just a link to an image somewhere on the www). My primary goal is to make it as simple as possible for the users to launch a message. That's exactly what SBM does so we're very happy with it. Having images in the SBM submit message would be great, that's all. As a workaround, I instructed to put the images in a PDF attachment. The only drawback is that the recipients need to take 2 steps: open the mail and open the attachment, so be it ...
Thanks again, Danny
----- Oorspronkelijk bericht -----
Van: "arnoldle" notifications@github.com Aan: "arnoldle/phplist-plugin-submitByMailPlugin" phplist-plugin-submitByMailPlugin@noreply.github.com Cc: "dvdp" danny.vandepol@telenet.be Verzonden: Dinsdag 1 maart 2016 20:51:24 Onderwerp: Re: [phplist-plugin-submitByMailPlugin] Submit with jpg in message (#10)
If you take a look at the inlineImage plugin, what it does is to take at image online, from your own website perhaps, or the website of a user, and then incorporates that image inline into the message. So that the messages are sent out with that image inline inside the message, and completely independent of the original image online. The online image can be removed, and the image in the message will remain. The online image does not even need to be publicly available, if it is available to the Phplist software.
Your Avast user should have no trouble incorporating the Logo using the inline image plugin. In the message sent through SBM all they have to do is to insert the usual HTML image tag with the “src” pointing to the image location. The image tag must be in the “inline” class, (for example
). The inline image plugin will then incorporate the image inline into the message distributed to the subscribers.
Arnold
On Mar 1, 2016, at 1:36 PM, dvdp notifications@github.com wrote:
Thanks for your speedy reply Arnold,
Actually, sending a message with an image works fine when I'm using the default phpList web interface, it's only when using an inline image with SBM that fails. Handling all the mime stuff is complicated indeed, I just hoped that passing inline images with SBM would't be that hard to do. Since you're experienced, it must be hard indeed - bad luck. Using an image that's available somewhere online works indeed, Avast adds some publicity to mails with a logo from their site (png) and that get's through nicely using SBM. I guess there's more people that would like inline images - even just one type e.g. jpg) - so if you ever feel the urge to add something extra ;-)
br Danny
----- Oorspronkelijk bericht -----
Van: "arnoldle" notifications@github.com Aan: "arnoldle/phplist-plugin-submitByMailPlugin" phplist-plugin-submitByMailPlugin@noreply.github.com Cc: "dvdp" danny.vandepol@telenet.be Verzonden: Dinsdag 1 maart 2016 20:21:09 Onderwerp: Re: [phplist-plugin-submitByMailPlugin] Submit with jpg in message (#10)
Thanks for the kind words Danny. Handling inline images is a reasonably complicated job. The SBM plugin did not take that job on, because dealing with MIME is complicated enough for a single plugin.
However, there is a plugin, the inlineImages plugin, that will take care of sending out messages containing inline images. You will find it at https://resources.phplist.com/plugins/inlineimage https://resources.phplist.com/plugins/inlineimage . I see no reason why one of your users could not submit a message through SBM and then have it go out incorporating an inline image, provided the image to be incorporated inline was available somewhere online.
The SBM plugin itself cannot be easily tweaked to handle inlineImages in messages submitted. Sorry about that.
Arnold
On Mar 1, 2016, at 10:03 AM, dvdp notifications@github.com wrote:
Hi Arnold,
We've been using this great module for some months now - works perfect. First of all it makes it really easy and fast to submit a mesHi, Dsage and secondly, I don't need to manage users within phpList for submitting messages. There is one thing that we've run into a few times though: submit messages with a jpg image inline or attached always results in 'escrowed and discarded - mime type not allowed'. Any chance the code can be tweaked a little so that it is a somewhat less picky on the mime formatting. Our users are just using mail clients like MS Outlook to compose a mail with an image and/or foooter so not 'special' mime stuff at all.
TIA Danny
— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/10.
— Reply to this email directly or view it on GitHub .
— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/10#issuecomment-190867319.
— Reply to this email directly or view it on GitHub .
— Reply to this email directly or view it on GitHub https://github.com/arnoldle/phplist-plugin-submitByMailPlugin/issues/10#issuecomment-191125424.
— Reply to this email directly or view it on GitHub .
Hi Arnold,
Just noticed a minor yet strange problem when submitting a campaign by mail. The URLs in the footer for unsubscribing, forwarding, account settings are getting escaped by extra quotes. When I use the phpList web GUI this doesn't happen.
Depending on how the mail is read (browser, outlook, ...) this produces bad URLS, e.g:
This is what I get as preferences URL when launching from the web GUI:
http://www.sint-jozefekeren.be/phpList/?p=preferences&uid=
br Danny
Hi Arnold,
We've been using this great module for some months now - works perfect. First of all it makes it really easy and fast to submit a message and secondly, I don't need to manage users within phpList for submitting messages. There is one thing that we've run into a few times though: submit messages with a jpg image inline or attached always results in 'escrowed and discarded - mime type not allowed'. Any chance the code can be tweaked a little so that it is a somewhat less picky on the mime formatting. Our users are just using mail clients like MS Outlook to compose a mail with an image and/or foooter so not 'special' mime stuff at all.
TIA Danny