Send a mail with cdosys and save a copy in the Sent Mail folder: how to???

Send a mail with cdosys and save a copy in the Sent Mail folder: how to???

am 15.03.2007 15:49:16 von fcetrini

Hello to the board, i'm facing this problem and i need some help: with
cdosys i'm able to send e-mail from asp using the local exchange
server. Now I also have to save the sent mail into the user's mailbox
for future reference: how to???

i'm using:

..Fields("http://schemas.microsoft.com/cdo/configuration/smt pserver") =
ServerName
..Fields("http://schemas.microsoft.com/cdo/configuration/
smtpserverport") = ServerPort
..Fields("http://schemas.microsoft.com/cdo/configuration/sen dusing") =
3

thank you!!

fabio

Re: Send a mail with cdosys and save a copy in the Sent Mail folder: how to???

am 15.03.2007 16:55:47 von me

I have a script here that will do this, BUT, the script askes for permission
to access address book, maybe there is a workaround


Dim olTaskItem
olTaskItem = 3

set ol = createObject( "Outlook.Application" )


Set mi = ol.CreateItem(olMailItem)


mi.Subject = "test"
mi.Recipients.Add("test@test.com")
mi.send




wrote in message
news:1173970156.854558.250350@l75g2000hse.googlegroups.com.. .
> Hello to the board, i'm facing this problem and i need some help: with
> cdosys i'm able to send e-mail from asp using the local exchange
> server. Now I also have to save the sent mail into the user's mailbox
> for future reference: how to???
>
> i'm using:
>
> .Fields("http://schemas.microsoft.com/cdo/configuration/smtp server") =
> ServerName
> .Fields("http://schemas.microsoft.com/cdo/configuration/
> smtpserverport") = ServerPort
> .Fields("http://schemas.microsoft.com/cdo/configuration/send using") =
> 3
>
> thank you!!
>
> fabio
>

Re: Send a mail with cdosys and save a copy in the Sent Mail folder: how to???

am 15.03.2007 16:57:17 von me

Sorry I forgot we were on a asp group, the script I sent is client side.

wrote in message
news:1173970156.854558.250350@l75g2000hse.googlegroups.com.. .
> Hello to the board, i'm facing this problem and i need some help: with
> cdosys i'm able to send e-mail from asp using the local exchange
> server. Now I also have to save the sent mail into the user's mailbox
> for future reference: how to???
>
> i'm using:
>
> .Fields("http://schemas.microsoft.com/cdo/configuration/smtp server") =
> ServerName
> .Fields("http://schemas.microsoft.com/cdo/configuration/
> smtpserverport") = ServerPort
> .Fields("http://schemas.microsoft.com/cdo/configuration/send using") =
> 3
>
> thank you!!
>
> fabio
>

Re: Send a mail with cdosys and save a copy in the Sent Mail folder: how to???

am 15.03.2007 18:51:51 von John Blessing

wrote in message
news:1173970156.854558.250350@l75g2000hse.googlegroups.com.. .
> Hello to the board, i'm facing this problem and i need some help: with
> cdosys i'm able to send e-mail from asp using the local exchange
> server. Now I also have to save the sent mail into the user's mailbox
> for future reference: how to???
>
Save it into which user's mailbox? Are you using windows authentication on
the server?

If you are using anonymous authentication, you have no idea who that user
is.



--
John Blessing

http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.room-booking-software.com - Schedule rooms & equipment bookings
for your meeting/class over the web.
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook, find/replace,
send newsletters

Re: Send a mail with cdosys and save a copy in the Sent Mail folder: how to???

am 16.03.2007 09:55:36 von fcetrini

> Save it into which user's mailbox? Are you using windows authentication on
> the server?

yes, got username, mail address, mail id
how could i find the "sent mail" folder for a user???

Re: Send a mail with cdosys and save a copy in the Sent Mail folder: how to???

am 20.03.2007 10:03:29 von fcetrini

any help?