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

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > March 2007 > Send a mail with cdosys and save a copy in the Sent Mail folder: how to???





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Send a mail with cdosys and save a copy in the Sent Mail folder: how to???
fcetrini@gmail.com

2007-03-15, 1:27 pm

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

ThatsIT.net.au

2007-03-15, 1:27 pm

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




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


ThatsIT.net.au

2007-03-15, 1:27 pm

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

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


fcetrini@gmail.com

2007-03-16, 7:26 am

> 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???



fcetrini@gmail.com

2007-03-20, 7:26 am

any help?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com