[wp-hackers] 8bit ASCII characters in mail-headers

drDave drdave at unknowngenius.com
Fri Sep 10 11:06:09 UTC 2004


You do not need a specific daemon...
pretty much every POP3 server out there is scriptable. Through either  
procmail recipes, exim recipes or even using a little-known feature of  
cPanel's forwarding tool (that lets you pipe to a shell script), you  
can easily have a script called with incoming mails to a specific  
address. That's how my own mail script works (  
http://unknowngenius.com/blog/archives/2004/08/23/wp-keitai-mail- 
plugin-v-10/ ).

As John said, this is much more effort to setup (in fact, I would not  
even attempt to guide a computer newbie through it), but really worth  
it.
I am planning on improving this part of my script, unfortunately, the  
many different ways in which each mail server can handle mail  
forwarding, and the fact it usually can only be done through backend  
tools (unless there's a straight recipe file available, but often  
that's not the case for shared hosts) make it a nigh-impossible task.
  If anybody has ideas on how to deal most effectively with it, I'd love  
to hear them.

I guess the ideal script would have the ability to work both ways  
(either checking a predefined POP3 account or using the input piped to  
it by the mail server).

At any rate, a way to make the post-by-mail feature fully accessible to  
the less hack-oriented users would be nice...

cheers
-- 
dave

On Sep 10, 2004, at 7:21 PM, Sebastian Herp wrote:

> John Hewitt wrote:
>
>> Yeah the whole thing needs a bit of an overrun.  IMAP is useful, but I
>> think what is more useful right now is a php parser that directly
>> takes SMTP emails in so you don't have to have cronjobs with POP or
>> IMAP.
>> That's the -real- solution, more effort to setup for the end-user (if
>> indeed they can at all) but it's rewarding.
>>
>>
> That would need a deamon to be run on the host and most providers  
> (especially the free ones) don't allow this. But it could of course be  
> something that some users (those with shell access to their box) would  
> find userful.:-)
>
>> I don't have a MMS phone (well I do Nokia 6600 but have MMS disabled
>> on my network provider, should call them up and ask about it) though I
>> think my hack already supports most MMS stuff.
>> As far as I know MMS is just standard mime which my hack supports.
>>
> True, but support for mms like b2evolution does it would be nice. I  
> live in Germany and one MMS costs 39 Cents (regardless of its size),  
> but if i send 100 kb from my phone via email (standard gprs) i'll need  
> one of the plans with more included traffic, if i don't want to spend  
> all my money on this :-) also prepaid users don't have that option ...  
> AND: you said it would be best to have a smtp-server (first  
> paragraph), so why not a script that acts as mms-gateway :-)
>
>> A lot of people that use my hack send photo's and what-not from their
>> phones, give it a try and it should work.
>>
>>
> I'll do ...
>
>
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
>
>
>
-- 
Dave / デイヴ
drdave at unknowngenius.com




More information about the hackers mailing list