469,964 Members | 1,717 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,964 developers. It's quick & easy.

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

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/smtpserver") =
ServerName
..Fields("http://schemas.microsoft.com/cdo/configuration/
smtpserverport") = ServerPort
..Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") =
3

thank you!!

fabio

Mar 15 '07 #1
5 4130
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("te**@test.com")
mi.send


<fc******@gmail.comwrote in message
news:11**********************@l75g2000hse.googlegr oups.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/smtpserver") =
ServerName
.Fields("http://schemas.microsoft.com/cdo/configuration/
smtpserverport") = ServerPort
.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") =
3

thank you!!

fabio
Mar 15 '07 #2
Sorry I forgot we were on a asp group, the script I sent is client side.

<fc******@gmail.comwrote in message
news:11**********************@l75g2000hse.googlegr oups.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/smtpserver") =
ServerName
.Fields("http://schemas.microsoft.com/cdo/configuration/
smtpserverport") = ServerPort
.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") =
3

thank you!!

fabio
Mar 15 '07 #3

<fc******@gmail.comwrote in message
news:11**********************@l75g2000hse.googlegr oups.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
Mar 15 '07 #4
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???

Mar 16 '07 #5
any help?

Mar 20 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Salim Afar | last post: by
1 post views Thread by Bruce W.1 | last post: by
1 post views Thread by Dean | last post: by
2 posts views Thread by Jeti [work] | last post: by
5 posts views Thread by Andreas | last post: by
8 posts views Thread by Akbur | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.