Move Mails from one into another POP3-Account

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alexander Franksmann

    Move Mails from one into another POP3-Account

    Hello,
    I'm going to write a anti-spam-program based on a Whitelist.
    "If the mail sender is found in the database, my program should move
    the mail into another mailbox"
    The mailserver fetched the mails from the clean pop3-account.
    The problem is a problem because the function imap_move() can only
    move mails from one folder in the mailbox into another folder.

    I hope someone could help me.



    The German Version - because my english is worst!

    _______________ _______________ _______________ _______________ _


    Hallo,
    ich bin gerade dabei ein Anti-Spam-Tool auf Basis einer Whitelist
    (oder
    Greenlist) zu Programmieren.
    Also wenn der Empfäger in der Datenbank vorhanden ist, lege die E-Mail
    in
    das Postfach, das von unserem Mailserver abgeholt wird.

    Weil ich mit 2 POP3 Konten arbeite, kann ich nicht die Funktion
    IMAP_MOVE()
    nutzen, den die verschiebt Mails nur innerhalb eines Kontos.
    Und weil die Mail so unverändert wie möglich bleiben soll, kann ich
    auch
    nicht einfach an eine E-Mail Adresse weiterleiten.

    Ich muss dazu sagen, dass dieses Projekt das Abschlussprojek t meiner
    Fachinformatike r-Ausbildung ist, und ich deshalb nicht die
    Riesen-Mail-Klassen verwende, die man überall im Internet findet.

    Also mein Lösungsansatz war schonmal IMAP_APPEND(), aber ich bekomm
    immer
    die Fehlermeldung:
    -> Append not valid for POP3
    Und diesen Fehler bekomm ich sogar mit einer einfachen Mail ohne
    Anhänge!
    Ich weiß einfach nicht was in diesem Fall "valid" ist for POP3


    Ich wäre echt suuuper dankbar, wenn mir jemand helfen könnte.

    Gruß aus Osnabrück
    Alexander Franksmann
  • Dennis Biletsky

    #2
    Re: Move Mails from one into another POP3-Account

    Of course imap and pop can move from one folder to other in ONE MAILBOX ONLY
    but you can RE-SEND your message from one mailbox to another

    "Alexander Franksmann" <googledotcom@f ranksmann.de> ???????/???????? ?
    ???????? ?????????: news:6de932b.04 03302257.2b3e3a 93@posting.goog le.com...[color=blue]
    > Hello,
    > I'm going to write a anti-spam-program based on a Whitelist.
    > "If the mail sender is found in the database, my program should move
    > the mail into another mailbox"
    > The mailserver fetched the mails from the clean pop3-account.
    > The problem is a problem because the function imap_move() can only
    > move mails from one folder in the mailbox into another folder.
    >
    > I hope someone could help me.
    >
    >
    >
    > The German Version - because my english is worst!
    >
    > _______________ _______________ _______________ _______________ _
    >
    >
    > Hallo,
    > ich bin gerade dabei ein Anti-Spam-Tool auf Basis einer Whitelist
    > (oder
    > Greenlist) zu Programmieren.
    > Also wenn der Empfäger in der Datenbank vorhanden ist, lege die E-Mail
    > in
    > das Postfach, das von unserem Mailserver abgeholt wird.
    >
    > Weil ich mit 2 POP3 Konten arbeite, kann ich nicht die Funktion
    > IMAP_MOVE()
    > nutzen, den die verschiebt Mails nur innerhalb eines Kontos.
    > Und weil die Mail so unverändert wie möglich bleiben soll, kann ich
    > auch
    > nicht einfach an eine E-Mail Adresse weiterleiten.
    >
    > Ich muss dazu sagen, dass dieses Projekt das Abschlussprojek t meiner
    > Fachinformatike r-Ausbildung ist, und ich deshalb nicht die
    > Riesen-Mail-Klassen verwende, die man überall im Internet findet.
    >
    > Also mein Lösungsansatz war schonmal IMAP_APPEND(), aber ich bekomm
    > immer
    > die Fehlermeldung:
    > -> Append not valid for POP3
    > Und diesen Fehler bekomm ich sogar mit einer einfachen Mail ohne
    > Anhänge!
    > Ich weiß einfach nicht was in diesem Fall "valid" ist for POP3
    >
    >
    > Ich wäre echt suuuper dankbar, wenn mir jemand helfen könnte.
    >
    > Gruß aus Osnabrück
    > Alexander Franksmann[/color]


    Comment

    • Geoff Berrow

      #3
      Re: Move Mails from one into another POP3-Account

      I noticed that Message-ID:
      <6de932b.040330 2257.2b3e3a93@p osting.google.c om> from Alexander
      Franksmann contained the following:
      [color=blue]
      >I'm going to write a anti-spam-program based on a Whitelist.[/color]

      Based on domain? That won't necessarily have anything to do with the
      spammer.

      Some lousy spammer is using two of my domains as from addresses and I
      keep getting the sodding bounces. Bastards...

      --
      Geoff Berrow (put thecat out to email)
      It's only Usenet, no one dies.
      My opinions, not the committee's, mine.
      Simple RFDs http://www.ckdog.co.uk/rfdmaker/

      Comment

      Working...