Newsgroup: it.comp.macintosh
Titolo: Importare da Mail in Eudora

E' possibile ? se si come ?
-- 
Angelo
http://www.setter.3000.it
http://www.dicrocedomini.it

 eudora from Apples Mail.app.
If you run this script either from Script Editor or from Eudora's
Scripts menu (or a toolbar button), you can import all mail from
mail.app
 in a second or two.  The message the script creates will tell
you what to do.
JD
set dropfile_ to "" & (path to startup disk) &
"private:tmp:dropfile.mbx"
do shell script "perl -e '
$dropfile = \"/tmp/dropfile.mbx\" ;
chomp ($date = `date`) ;
$date =~ s~\\s+~ ~g ;
$date = \"$date\\015\\X-Imported-From-Mail.app: true\" ;
open DROPFILE, \">$dropfile\" or die $! ;
$dir = \"$ENV{HOME}/Library/Mail\";
opendir DIR, $dir ;
foreach $filename (readdir DIR) {
 push @accounts, \"$dir/$filename\" if $filename =~ m/@|^Mailboxes$/
}
foreach $account (@accounts){
 opendir ACCOUNT, $account or die $! ;
 for (readdir ACCOUNT) {
 /\\.mbox$/ and push @mailboxes, \"$account/$_/mbox\" ;
 }
 for (@mailboxes) {
 open MAILBOX, $_ ;
 for (<MAILBOX>) {
 chomp ;
 s~(^From )([^\\s]+)(.+)~$1???@??? $date~g ;
 print DROPFILE \"$_\\015\"
 }
 }
}'"
tell application "Eudora"
  set persname_ to "Import_from_Mail"
  if not (exists personality persname_) then
    set p to make personality
    set name of p to persname_
  end if
  tell personality persname_
    set its setting 3 to "!" & dropfile_
    set its setting 5 to "
Scr...@127.0.0.1
"
    set its setting 4 to "[not applicable]"
    set its setting 77 to "Script"
    set its setting 83 to "y"
  end tell
  set m to make message at end of mailbox 3 with data "From: Script
To:" & setting 77 & "
Subject: Messages from Mail.app
Content-Type: text/html
<html><font size='+2' face='Geneva' color='navy'>
<h1><font color='#337733'>
Your Mail.app messages are ready for collection.<p>
</font></h1>
If you want to have these messages in a special place,
<ol>
 <li>Create a mailbox for
 imported messages, eg. &#8220;Imported&#8221;</li>
 <li>Set up a filter at the <b>top</b> of your filter list
 <ul>
 <li>Type &#8220;X-Imported-From-Mail.app&#8221;
 in the top box</li>
 <li>Type &#8220;true&#8221 in the second box</li>
 <li>Set action 1 to
 &#8220;open&#8221; and check &#8220;mailbox&#8221;</li>
 <li>Set action 2 to
 &#8220;Transfer To&#8221; (&#8220;Imported&#8221;)</li>
 <li>Set action 3 to
 &#8220;Make Personality&#8221;
 (&#8220;you choose&#8221;)</li>
 </ul>
</ol><p>
To get the messages, type <b>cmd-opt-m</b>
and check mail for personality &#8220;Import_from_Mail&#8221;.
If you are asked for a password, type anything.
<p>
Type <b>cmd-d</b> to delete this message.
</font><html>"
  set personality of m to personality persname_
  send again m
  activate
end tell
-- 
 Ciao,   zzz...Ghiro...zzz
 -Si sputa contro il nemico fintantoche', con inevitabile sgomento,
  non lo si incontra guardandosi allo specchio- M.S.

 E' possibile ? se si come ?
 Non ho Eudora su X (per la verità nemmeno X, ho trafugato di soppiatto
una mbox dalla macchina del pupo ;)), ma con il OS9 ho aperto il file
"mbox" con BBEdit e ho cambiato "Line Breaks" da Unix a Macintosh. Ho la
mia bella mailbox di Eudora.
Su X non basterà fare da Eudora "Open.."? 


 Su X non basterà fare da Eudora "Open.."? 
Provo e ti sapro' dire


 Su X non basterà fare da Eudora "Open.."? 
Non basta :-(


 Non basta :-(
 Altro copia/incolla:
Check the article here on this list entitled: Question: How to get
Mailboxes out of Apple Mail and into Eudora. 
posted on  10/8
the short answer is,
Put your downloaded mailboxes in a folder, and select all, then
right-click, or Control-Click the selected list' and when you get the
little popup menu choose "Open with BBEdit", from there you will have a
stack of windows, one for each mailbox, double-click on the item called
'mbox' in the frontmost window, you can then name the mailbox or rename
it. No need to keep the .mbox suffix.... then, very important click
'options' and change the Line endings to 'Macintosh' [it will say Unix
in the defaulted position], also change creator to Eudora....
read the post from Jennifer in the above-mentioned article for more
details, or if you have a problem... It worked fine for me.  :=)


 It worked fine for me.  :=)
I hope also for me .-)
