How to send HTML email from outlook client without using CDONTS 
Author Message
 How to send HTML email from outlook client without using CDONTS

I have difficulties to figure out how to meet this
client's needs.
The situation is like this.
(This is ASP solution and I hope this post is where it is
supposed to be)

I have dynamically produced HTML page and the customer
wants to send it as HTML while using some important
features of outlook function such as address and
attachment.
That means that I can not use CDONTS and they do not have
Exchange Server.

I tried to open client email form just like "mailto" does
in the web page.

In the local, I could successfully lauch the email form
with HTML results embedded with following code.
But somehow I could not do this with COM installation on
the web server. Of course, I have to open client email not
server's.

Please help me.

   Public Sub SendMail()

   Dim objOutlook As New Outlook.Application
   Dim objMail As MailItem

       Set objMail = objOutlook.CreateItem
(olMailItem) 'Create a new
                                                      'Mail
Item

       With objMail
           .To

           .Subject = "Subject of mail
message"       'Subject line of
                                                      'mess
age
           .HTMLBody = "<b>Body of mail
message</b>"             'Body of mail message
           .Display
       End With

       Set objMail = Nothing
       Set objOutlook = Nothing

   End Sub
Two weeks attempts to open up HTML email for



Sat, 12 Feb 2005 03:37:17 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Sending mail without using any email client !

2. Sending mail without using any email client !

3. Sending mail without using any email client !

4. Sending mail without using any email client !

5. is there any way to send email through a formal without launching the email client

6. How to send email without using Outlook ?

7. Send emails from vb without using outlook.

8. Send emails from vb without using outlook.

9. Send emails from vb without using outlook.

10. Sending mail without using MS Outlook or other mail client

11. Send email without using Outlook

12. Sending HTML email from outlook using VB..

 

 
Powered by phpBB® Forum Software