in reply to Saving sent email from LAMP to MS Exchange Folder

Now, I know this is ugly but it works for me on an Exchange 5.5 server. This comes from a web interface to our excehange server that I wrote a few years back.
$imapp = Mail::IMAPClient->new( Server => 'servername, User => 'userid', Password => 'password', Uid => 1, Debug => 0 ); $tempuid = $imapp->append_string("Sent Items", $messagestring ,"\\ +Seen"); $tempuidarray->[0] = $tempuid; $imapp->set_flag("\Seen",$tempuidarray); if(!$tempuid){warn "ERROR saving to sent items: $@\n"; }
I'm sure that Exchange 2003 is quite different from 5.5 but I would hope that IMAP is still IMAP. I don't know what LAMP is so I apologize if my reply seems ludicrous.

Replies are listed 'Best First'.
Re^2: Saving sent email from LAMP to MS Exchange Folder
by MidLifeXis (Monsignor) on Aug 17, 2005 at 16:36 UTC
    I don't know what LAMP is

    Linux, Apache, Msql, P(erl|HP).

    --MidLifeXis

      Thanks. And thanks to radiantmatrix for the link http://onlamp.com/.

      It seems that while I did not know the acronym, I have been in the LAMP world for years.