Hi Petr,
I am working on a mail client which has a function just like this, and
I've had no trouble with it on a Windows client - here's my code:
snippet
mail: open pop://user:pass@server
if error? try [msg: import-email pick mail 1] [ print Error ]
/snippet
This produces:
mail: open
Heh,
look at following code result!
- ble: import-email {total 2
{-rwxr-xr-x1 root root 253 Dec 4 07:13 process-email.r
{-rwxr-xr-x1 root root 426 Dec 4 08:43 snih.r
{}
- ble
- probe ble
make object! [
To: none
CC: none
BCC: none
Petr Krenzelok wrote:
Jon Saltzman wrote:
Hi Petr,
I am working on a mail client which has a function just like this, and
I've had no trouble with it on a Windows client - here's my code:
snippet
mail: open pop://user:pass@server
if error? try [msg: import-email pick mail
Hi Petr,
Once upon a time Petr Krenzelok spoketh thus:
..
How's that above input string was correctly parsed as an email? Huh? How
should I be sure I received proper email message?
That's a mystery to me ...
2)
{From [EMAIL PROTECTED] Tue Dec 4 08:49:35 2001
Received: from
Well, the problem is - I don't want to store message as-is for
post-processing purposes. My email never reaches its mailbox. I want to
handle it directly upon its delivery. I found the problem - it is first
line FROM string, which causes problem to 'import-email I
solved it by following