<div dir="ltr">Unless I mis-understood the post, Brian is not involved in the processing of any post. He is asking how to service this clients need who does not want to learn anything new. This was a suggestion about a way Brian could work his magic for the client's systems so the client gets what he needs without himself doing anything.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 6, 2013 at 12:34 PM, Matt Graham <span dir="ltr"><<a href="mailto:mhgraham@crow202.org" target="_blank">mhgraham@crow202.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2013-09-06 12:06, Dazed_75 wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Maybe the solution is there so the images are smaller to begin with.<br></div>
For example, if they are from a digital camera, ask to see it and<div class="im"><br>
change the storage resolution. Or maybe in the way they move the<br>
images to the computer they could use a script that does the resize<br>
as part of moving the image to computer storage. Then the guy<br>
doing the emails has no change to how he works. Or how about<br>
setting up a cron job that resizes the photos before he uses them?<br>
</div></blockquote>
<br>
This may be possible. There are some details missing, though. How does this message get to Brian in the first place? Does it show up over SMTP? If so, the solution will probably involve something like having the MTA look for a particular sender, then pass that message off to an external filter script. The filter script would then have to split the message up into body and attachments, then base64 decode those attachments into a temp directory, then do a convert command like the one Joe posted earlier on all of those attachments, then stitch the message back together, then pass it back to the MTA, then clean up.<br>
<br>
I don't know of anything pre-built that'll do all that off the top of my head. There's always the wonderful "import email" part of python, if python is an option, and there are also mail-parsing Perl modules.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Crow202 Blog: <a href="http://crow202.org/wordpress" target="_blank">http://crow202.org/wordpress</a><br>
There is no Darkness in Eternity<br>
But only Light too dim for us to see.</font></span><div class="HOEnZb"><div class="h5"><br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a></div></div></blockquote></div><br><br clear="all"><br>-- <br>Dazed_75 a.k.a. Larry<br>
<br>Please protect my address like I protect yours. When sending messages to multiple recipients, use the BCC:
(Blind carbon copy). Remove addresses from a forwarded message body before clicking Send. <br>
</div>