Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1524 connectés 

  FORUM HardWare.fr
  Windows & Software
  Logiciels

  Transfert de mail entre deux logiciels de messagerie

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Transfert de mail entre deux logiciels de messagerie

n°1407991
nexosenz
Posté le 11-01-2004 à 23:31:38  profilanswer
 

coucou
 
alors voila, depuis un long bout de temp j'utilise "the bat" comme logiciel pour gerer mes comptes mails
 
mais ayant a present un pda, je souhaiterai utiliser "outlook" (g dit outlook, pas outlook expresse).
 
ma question est donc de savoir comment recuperer tout mes mail sur ce nouveau logiciel, parce que je galere beaucoup, car apparement, outlook ne permet pas d'importer les meme type de fichier que the bat permet d'exporter.
 
mais je suis pas bien sure de ca
 
donc si kk1 pouvait m'aidé sa serai impec.
 
merci


---------------
Team officielle JackyPC. com :sol:
mood
Publicité
Posté le 11-01-2004 à 23:31:38  profilanswer
 

n°1408205
nexosenz
Posté le 12-01-2004 à 09:40:57  profilanswer
 

personne ?


---------------
Team officielle JackyPC. com :sol:
n°1408206
f4ukp
Posté le 12-01-2004 à 09:41:57  profilanswer
 

Quel est le format de fichier de The Bat ?
 
Si tu le connais un peut eventuellement t'aider


---------------
Radio Club de Fontainebleau F8KTH
n°1408235
grotius
Posté le 12-01-2004 à 10:25:24  profilanswer
 

suffit de dire a ton bat de laisser une copie du message sur le serveur, quand tu branches ton pda il recupere les mails qu il a pas.

n°1409129
nexosenz
Posté le 12-01-2004 à 20:57:55  profilanswer
 

the bat permet d'exporter:
 
au format fichier message (.msg)
courriels EML (.EML)
au format boite au lettre UNIX (BAL UNIX)


---------------
Team officielle JackyPC. com :sol:
n°1409131
nexosenz
Posté le 12-01-2004 à 20:58:30  profilanswer
 

grotius a écrit :

suffit de dire a ton bat de laisser une copie du message sur le serveur, quand tu branches ton pda il recupere les mails qu il a pas.


 
 :??:


---------------
Team officielle JackyPC. com :sol:
n°1410910
f4ukp
Posté le 14-01-2004 à 10:45:22  profilanswer
 
n°1410922
Requin
Posté le 14-01-2004 à 10:58:42  profilanswer
 

En principe en EML ca ne pose pas de problèmes pour Outlook... toutefois message par message ca craint !

n°1410935
f4ukp
Posté le 14-01-2004 à 11:07:12  profilanswer
 

moi j'ai transferé quelques milliers de mail depuis Pmmail 2000 à Thunderbird en passant par un script sous linux mais impossible de remettre la main sur ce script ...
 
Je te dit ca car Pmmail stock les mails comme the bat sous format .MSG et que j'ai importé dans Thunderbird en utilisant le format Netscape 4 que tu peux aussi importer dans z'outlook


---------------
Radio Club de Fontainebleau F8KTH
n°1411480
nexosenz
Posté le 14-01-2004 à 17:58:55  profilanswer
 

f4ukp a écrit :

moi j'ai transferé quelques milliers de mail depuis Pmmail 2000 à Thunderbird en passant par un script sous linux mais impossible de remettre la main sur ce script ...
 
Je te dit ca car Pmmail stock les mails comme the bat sous format .MSG et que j'ai importé dans Thunderbird en utilisant le format Netscape 4 que tu peux aussi importer dans z'outlook


 
je sen ke tu va etre mon ami  :D  
 
ya moyen ke tu essaye de recupéré sa stp ?


---------------
Team officielle JackyPC. com :sol:
mood
Publicité
Posté le 14-01-2004 à 17:58:55  profilanswer
 

n°1422559
f4ukp
Posté le 22-01-2004 à 23:33:17  profilanswer
 

bah vraiment je sais pas ou j'avais mis la main la dessus mais je pense que c'etait un script en perl ... je cherche et si je trouve je te met le liens !


---------------
Radio Club de Fontainebleau F8KTH
n°1422561
f4ukp
Posté le 22-01-2004 à 23:34:27  profilanswer
 

J'ai trouvé !! :)
 
http://www.tux.org/~peterw/
 
Dans la section OS/2 stuff :)
 

Code :
  1. #!/usr/bin/perl
  2. # Perl script to convert PM Mail (v 1.91) for OS/2 email folders
  3. # to Netscape (v 4) Messenger for Linux
  4. # Also required is the "file-lib.pl" script, which I'm just using
  5. # to make a Perl-clean "ls $DIR/*.fld" call
  6. #
  7. # Usage: simple, mount your OS/2 drive, set $top_dir to the name
  8. # of the PM Mail account folder, and then set $new_dir to a temp
  9. # dir name. Run the script. That's it.
  10. #
  11. # It will try to keep your existing folder names, but converts
  12. # " " to "_", and "/" to "-", and then tosses any other characters
  13. # besides letters or numbers, just to be safe.
  14. #
  15. # Seriously, I renamed my (empty) ~/nsmail in case Netscape
  16. # got mad, and did a "cp -r /tmp/nsmail ~/nsmail" without Netscape
  17. # running... As soon as you try to open a folder Netscape will do
  18. # some initial parsing, and thanks to BoB and Icon, PMMail even
  19. # marks the "read" messages correctly !!!
  20. #
  21. # This script is copyright 1997 Peter W, copying allowed under
  22. # terms of the GNU Copyright (http://www.gnu.org/)
  23. #
  24. # Please email me if you have any troubles or suggestions, though
  25. # I'd bet we're all just going to use this once ;-)
  26. #
  27. # -Peter W (mailto:peterw@clark.net)
  28. #  July 18, 1997
  29. #
  30. # Note to BoB & Icon: thanks for the great mail app. Nothing else comes
  31. # close to PM Mail. Now if you'd only make a Linux version I'd be very
  32. # happy. Best of luck to you both.
  33. #
  34. require "file-lib.pl";
  35. $top_dir = "/os2/ftpware/southsde/pmmail/peterw_1.act";
  36. $new_dir = "/tmp/nsmail";
  37. $tally = 0;
  38. $start[$tally] = $top_dir;
  39. $target[$tally] = $new_dir;
  40. $tally += 1;
  41. for ($out_loop = 0 ; $out_loop < $tally ; ++$out_loop ) {
  42. &MakeFolder($start[$out_loop],$target[$out_loop]);
  43. }
  44. exit 0;
  45. # -------------------------------------------------------------
  46. sub MakeFolder {
  47. local ($start_dir,$final_dir) = @_;
  48. if ( ($start_dir eq "" ) || ($final_dir eq "" ) ) { return 0; }
  49. local @Subdirs, $make_subdir, $num_Subdirs, $loop;
  50. local @Startdirs, $buffer, $filename;
  51. local $wkday, $from_line, $wkday, $month, $monum, $time, $year;
  52. local $write_folder;
  53. #print "Starting with \"$start_dir\", writing to \"$final_dir\"\n";
  54. $write_folder = 1;
  55. if (! open(INI,"<$start_dir/folder.ini" ) ) {
  56. print "Cannot open folder.ini\n";
  57. $write_folder = 0;
  58. #exit 3;
  59. }
  60. $_ = <INI>;
  61. close INI;
  62. $pm_name = "";
  63. ($pm_name,$other) = split /\xde/, $_;
  64. while ( $pm_name =~ / / ) { $pm_name =~ s/ /\_/; }
  65. while ( $pm_name =~ /\// ) { $pm_name =~ s/\//\-/; }
  66. while ( $pm_name =~ /[^\w\_\-]/ ) { $pm_name =~ s/[^\w\_\-]//; }
  67. if ( $pm_name ne "" ) {
  68. #print "Looks like we should call this folder \"$pm_name\"\n";
  69. }
  70. if (! open(BAG,"<$start_dir/folder.bag" ) ) {
  71. print "Cannot open folder.bag\n";
  72. $write_folder = 0;
  73. #exit 1;
  74. }
  75. #print "Trying to chdir to $start_dir\n";
  76. if (! chdir($start_dir) ) {
  77. print "Can't get to directory\n";
  78. exit 5;
  79. }
  80. #print "Getting list of directories in $start_dir\n";
  81. @Subdirs = &ListFiles($start_dir,'\.fld$');
  82. $make_subdir = 0;
  83. $num_Subdirs = @Subdirs;
  84. for ($loop = 0; $loop < $num_Subdirs; ++$loop) {
  85. $sub1 = $Subdirs[$loop];
  86. #print "Checking out $sub1\n";
  87. if ( $sub1 =~ /\w/ ) {  
  88.  $make_subdir = 1;  
  89.  if ( $pm_name ne "" ) {
  90.   $start[$tally] = $Startdirs[$loop] = $start_dir."/".$Subdirs[$loop];
  91.   $target[$tally] = $final_dir."/".$pm_name.".sbd";
  92.  }
  93.  else {
  94.   $start[$tally] = $Startdirs[$loop] = $start_dir."/".$Subdirs[$loop];
  95.   $target[$tally] = $final_dir;
  96.  }
  97.    
  98.  $tally += 1;
  99.  #print "call ".$start[$tally]." ".$target[$tally]."\n";
  100.  #print "call ".$Startdirs[$loop]."\n";
  101.  # ".$Subdirs[$loop]."\n";
  102. }
  103. }
  104. if ( ($make_subdir == 1) && ( $pm_name ne "" ) ) {
  105. mkdir( $final_dir."/".$pm_name.".sbd", 0700);
  106. #print "Making dir \"". $final_dir."/".$pm_name.".sbd\"\n";
  107. }
  108. if ($write_folder == 1 ) {
  109. if (! open(MBOX,">$final_dir/$pm_name" ) ) {
  110. print "Cannot open  temp mailbox\n";
  111. exit 2;
  112. }
  113. while(<BAG> ) {
  114. while (/\n/) { s/\n//; }
  115. while (/\r/) { s/\r//; }
  116. ($x,$y,$date,$time,$subject,$to_at,$to_name,$from_at,$from_name,$size,$filename) = split /\xde/, $_;
  117. $filename = uc($filename);
  118. if ( open(MSG,"<$filename" ) ) {
  119.  $buffer = "";
  120.  while(<MSG> ) {  
  121.   $buffer .= $_;
  122.   if ( /^Date\: / ) {
  123.    # parse the date for mbox
  124.    ($pre,$wkday,$monum,$month,$year,$time,$offset) = split / /, $_;
  125.    $wkday =~ s/\,//;
  126.    $from_line = "From - $wkday $month $monum $time $year\n";
  127.   }
  128.  }
  129.  print MBOX $from_line;
  130.  print MBOX $buffer;
  131.  close MSG;
  132. }
  133. else {
  134.  print "Cannot open \"$filename\"\n";
  135. }
  136. } # looping through folder.bag
  137. close BAG;
  138. } # if Write_folder == 1
  139. return 0;
  140. }
  141. # -------------------------------------------------------------


 
et le deuxieme fichier :)
 

Code :
  1. #!/usr/bin/perl
  2. # file-lib.pl , basic file functions
  3. #usage array ListFiles($dir,$regexp) returns array of files in $dir whose patterns match $regexp
  4. #usage int LogAppend($filename,$message) appends $message to $filename or returns non-zero
  5. return 1;
  6. exit 0;
  7. # -----------------------------------------------------------------------------------------
  8. sub ListFiles {  # directory, regexp returns @list
  9. #usage array ListFiles($dir,$regexp) returns array of files in $dir whose patterns match $regexp
  10. local ($dir,$regexp) = @_;
  11. local $this_line,@list,@allfilesx,$listpos,$num_filesx,$file_namex;
  12. $this_line ="";
  13. $listpos = 0;
  14. @list = ("" );
  15. @allfilesx = ("" );
  16. $listpos =0;
  17. $num_filesx = 0;
  18. $file_namex = "";
  19. if ( opendir (LISTFILESSTORAGE_DIR, $dir) ) {
  20.                 # Looks alright
  21.                 @allfilesx = grep !/^\./, readdir LISTFILESSTORAGE_DIR;
  22.                 $num_filesx = @allfilesx;
  23.                 if ( $num_filesx == 0) {
  24.                         # No files yet. Goodbye
  25.                 } #how many files
  26.                 else {
  27.   foreach $file_namex ( @allfilesx ) {
  28.    #print "ListFiles considering \"$file_namex\"\n";
  29.    if ( $file_namex =~ /$regexp/ ) {
  30.     #print "Looks fine\n";
  31.     $list[$listpos] = $file_namex;
  32.     $listpos += 1;
  33.    }
  34.   }
  35.  }
  36. }
  37. return @list;
  38. }
  39. # -----------------------------------------------------------------------------------------
  40. # -----------------------------------------------------------------------------------------
  41. sub LogAppend {
  42. #usage int LogAppend($filename,$message) appends $message to $filename or returns non-zero
  43.    local($filename,$message) = @_;
  44. local $this_line,$floop;
  45. for ( $floop = 0 ; $floop < 3 ; ++$floop ) {
  46.  sleep ($floop);
  47.   if ( open(LOGFILE,">>$filename" ) ) {
  48.    print LOGFILE $message;
  49.   $floop = 10;
  50.   close LOGFILE;
  51.   return 0;
  52.  }
  53. }
  54. if ( $floop < 10 ) { return -1; }
  55. return 0;
  56. }
  57. # -----------------------------------------------------------------------------------------


Message édité par f4ukp le 23-01-2004 à 00:49:50

---------------
Radio Club de Fontainebleau F8KTH
n°1422679
nexosenz
Posté le 23-01-2004 à 00:36:17  profilanswer
 

okai merci c tres sympa davoir cherché, mais euhhhh, je fait koi avec sa :D


---------------
Team officielle JackyPC. com :sol:
n°1422683
f4ukp
Posté le 23-01-2004 à 00:40:57  profilanswer
 

tu as un poste sous linux sous la main ?
 
en gros tu exporte tes messages ai format .msg et ensuite tu les fait passer a travers la moulinette ci dessous ...
 
Pour cela il te faut une machine sur laquelle perl tourne. Tu as donc 2 solutions : utiliser un pc sous un unix avec perl ou linux ou alors tu installes perl sous windows en passant par cygwin ...
 
A toi de faire ton choix :)
 
pour info : http://www.cygwin.com/


Message édité par f4ukp le 23-01-2004 à 00:53:08

---------------
Radio Club de Fontainebleau F8KTH
n°1422708
f4ukp
Posté le 23-01-2004 à 00:56:15  profilanswer
 

sinon en cherchant 2 minutes j'ai trouvé ca :
 
http://www.soft32.com/download_11751.html


---------------
Radio Club de Fontainebleau F8KTH
n°1425049
nexosenz
Posté le 25-01-2004 à 16:07:00  profilanswer
 

f4ukp a écrit :

sinon en cherchant 2 minutes j'ai trouvé ca :
 
http://www.soft32.com/download_11751.html


 
je vien dessayé ce log, il sert uniquement a faire des backup et des restore sur LE MEME LOGICIEL
 
mais sa peut servire qd meme


---------------
Team officielle JackyPC. com :sol:
n°1427186
f4ukp
Posté le 27-01-2004 à 09:10:10  profilanswer
 

bon et bien dans ce cas il ne te reste que le script fournit plus haut. Essaye de trouver un ami qui a un pc sous linux et qui connait un peu perl.


---------------
Radio Club de Fontainebleau F8KTH
n°1427635
nexosenz
Posté le 27-01-2004 à 19:43:56  profilanswer
 

oki


---------------
Team officielle JackyPC. com :sol:
n°1434693
f4ukp
Posté le 01-02-2004 à 23:23:24  profilanswer
 

ou installe PERL sur ton pc :)


---------------
Radio Club de Fontainebleau F8KTH

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Windows & Software
  Logiciels

  Transfert de mail entre deux logiciels de messagerie

 

Sujets relatifs
Probleme erreur 550 pour envoie mailLogiciels comme Microsoft Photo Editor ?
boite a mail chez freetransfert de fichiers via port COM...
Qui choisir pour enregistrement nom de domaine et service mail ?Outlook 2003 Mail insupprimable :-(
depuis 4 jour je recois un mail bizarrequels logiciels de surveillance reseau legers pour un vieux PC ?
(Nioubi inside) Mail accessible de tout poste réseau, comment faire ?Messagerie Tele2
Plus de sujets relatifs à : Transfert de mail entre deux logiciels de messagerie


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR