Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: sent messages list

by markov (Scribe)
on Jan 28, 2004 at 11:16 UTC ( #324641=note: print w/replies, xml ) Need Help??

in reply to sent messages list


use Mail::Box::Manager; my $mgr = Mail::Box::Manager->new; my $msg = Mail::Message->build(...); # what yoy already have $msg->send(via => 'smtp'); # calls Mail::Transport::SMTP $mgr->appendMessage('Outbox', $msg);

Replies are listed 'Best First'.
Re: Re: sent messages list
by KZ (Initiate) on Jan 28, 2004 at 11:34 UTC
    i want to maintain this list locally and not on the remote machine,as i only want to store the messages that have been sent by using my email client.Is there some specific format that is used to distinguish different messages stored in a file.
      There are a few common formats (for unixy mail programs - windows programs often use their own proprietary standards): mbox, maildir, and MH. You might take a look at Mail::LocalDelivery. Or I think the Mail::Box solution suggested will do what you want (don't use Mail::Box myself).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://324641]
and the grasshoppers chirp...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2018-02-24 08:41 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (310 votes). Check out past polls.