-
Hey Look At Me
Does Anyone know how too send Emails From An ASP page Via Outlook?
I know how to send via CDonts But i need to send to users in
outlooks global Address List.
I get a problem with createobject("Outlook.application")
ASPs Don't seem to be able to create an outlook object?
Any ideas?
:confused:
-
Office Apps weren't designed to be scripted from ASP and trying to do so could cause major problems with your web server.
-
You can try using MAPI for connecting to your oulook libery.
I know you can do it with ASP. But how i dont know yet. I dont have much time to figure it out.. :(
-
Not sure if you can bring up an actual outlook email message, but you can send an email with VBscript
dim Mailer
Set Mailer=Server.CreateObject("CDONTS.NewMail")
Then you can use properties like:
To
From
CC
BCC
Subject
Body
Importance
If the user is inputing information from a asp form, you can grab the info and format the email message then do Mailer.Send
Good luck!
-
Thanks Guys
Thanks But...
I know How To Send Via CDONTSm But I'm Designing a Intranet Page
Where users Fill in Details the details are saved to a Database
and An Email is sent to the manager.
Now the staff that work here are not to bright so i wanted to allow
users to select their name from the outlook global address list from
within the ASP Page.
Then use the name that they selected to send the email.
But sadly it seems that outlook can't be used from asp :(
But if any one has any ideas :D
-
There is a thread here where I showed another user how to take the email addresses from an external mail list (text file) and add them to the to field of a cdonts message.
I don't use Outlook (use Express) but is there any way to export the 'buddy' list to a text file? If so I can show you how to do the rest.
-
Or even better how bout having just your email address and have the staff names in with the subject. EG:
Staff's Subject Here - Staff's Name Here