Help!

Outlook Express 6

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Programming VBA RSS
Next:  'Too Many Different Cell Formats' - Error Message  
Author Message
Ole Thomas Sløgedal
External


Since: Sep 20, 2009
Posts: 2



PostPosted: Sun Sep 20, 2009 5:10 am    Post subject: Outlook Express 6
Archived from groups: microsoft>public>outlook>program_vba (more info?)

Hi!

Can anyone help me with this. I have Outlook Express 6 on the machine that
default from Windows XP and try to send mail as shown below. I think I
must check the Project References but can not find out the name to get this
to work. Can anyone help me? As it is now then stops at the first Set-line.

Ole T.

Dim oOApp As Outlook.Application
Dim oOMail As Outlook.MailItem

Set oOApp = CreateObject("Outlook.Application")
Set oOMail = oOApp.CreateItem(olMailItem)

With oOMail
..To = "ole-t.s@online.no"
..Subject = "email subject"
..Body = "email message"
..Send
End With
Back to top
Vince Averello
External


Since: Jan 15, 2009
Posts: 70



PostPosted: Sun Sep 20, 2009 5:10 am    Post subject: Re: Outlook Express 6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

This newsgroup is for support of Outlook 97, 98, 2000, 2002, 2003 & 2007
from the Office family for Intel PCs. For Outlook Express (OE) support you
can try starting here:
http://support.microsoft.com/ph/2578

Another good source of Outlook Express info can be found here:
http://insideoe.tomsterdam.com/

The references you're using are for Outlook not OE. Not sure if OE has an
object model but you can check the reference above.

"Ole Thomas Sløgedal" <ole-t.s RemoveThis @online.no> wrote in message
news:F8Cdnfx1j9EyfSjX4p2dnAA@telenor.com...
> Hi!
>
> Can anyone help me with this. I have Outlook Express 6 on the machine that
> default from Windows XP and try to send mail as shown below. I think I
> must check the Project References but can not find out the name to get
> this
> to work. Can anyone help me? As it is now then stops at the first
> Set-line.
>
> Ole T.
>
> Dim oOApp As Outlook.Application
> Dim oOMail As Outlook.MailItem
>
> Set oOApp = CreateObject("Outlook.Application")
> Set oOMail = oOApp.CreateItem(olMailItem)
>
> With oOMail
> .To = "ole-t.s@online.no"
> .Subject = "email subject"
> .Body = "email message"
> .Send
> End With
>
>
Back to top
JP
External


Since: Mar 13, 2009
Posts: 14



PostPosted: Mon Sep 21, 2009 12:13 pm    Post subject: Re: Outlook Express 6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You can't use Outlook VBA code in Outlook Express. Sorry.

--JP

On Sep 20, 3:58 am, "Ole Thomas Sløgedal" <ole-... RemoveThis @online.no> wrote:
> Hi!
>
> Can anyone help me with this. I have Outlook Express 6 on the machine that
> default from Windows XP and try to send mail as shown below. I think I
> must check the Project References but can not find out the name to get this
> to work. Can anyone help me? As it is now then stops at the first Set-line.
>
> Ole T.
>
> Dim oOApp As Outlook.Application
> Dim oOMail As Outlook.MailItem
>
> Set oOApp = CreateObject("Outlook.Application")
> Set oOMail = oOApp.CreateItem(olMailItem)
>
> With oOMail
> .To = "ole-...@online.no"
> .Subject = "email subject"
> .Body = "email message"
> .Send
> End With
Back to top
Ole Thomas Sløgedal
External


Since: Sep 20, 2009
Posts: 2



PostPosted: Mon Sep 21, 2009 5:10 pm    Post subject: Re: Outlook Express 6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

OK. Thank you very much. What is the best mailprogram for this. I have
Windows XP and VB 5.

Ole T.



"JP" <jp2112.RemoveThis@earthlink.net> skrev i melding
news:69b346ad-fd16-4c31-946f-9cf0f020c279@p36g2000vbn.googlegroups.com...
You can't use Outlook VBA code in Outlook Express. Sorry.

--JP

On Sep 20, 3:58 am, "Ole Thomas Sløgedal" <ole-....RemoveThis@online.no> wrote:
> Hi!
>
> Can anyone help me with this. I have Outlook Express 6 on the machine that
> default from Windows XP and try to send mail as shown below. I think I
> must check the Project References but can not find out the name to get
> this
> to work. Can anyone help me? As it is now then stops at the first
> Set-line.
>
> Ole T.
>
> Dim oOApp As Outlook.Application
> Dim oOMail As Outlook.MailItem
>
> Set oOApp = CreateObject("Outlook.Application")
> Set oOMail = oOApp.CreateItem(olMailItem)
>
> With oOMail
> .To = "ole-...@online.no"
> .Subject = "email subject"
> .Body = "email message"
> .Send
> End With
Back to top
JP
External


Since: Mar 13, 2009
Posts: 14



PostPosted: Tue Sep 22, 2009 12:45 pm    Post subject: Re: Outlook Express 6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The only program you can use your code with is Outlook. Unless there's
some other VBA-aware mail program I don't know about.

--JP

On Sep 21, 4:26 pm, "Ole Thomas Sløgedal" <ole-... RemoveThis @online.no> wrote:
> OK. Thank you very much. What is the best mailprogram for this. I have
> Windows XP and VB 5.
>
> Ole T.
>
> "JP" <jp2... RemoveThis @earthlink.net> skrev i meldingnews:69b346ad-fd16-4c31-946f-9cf0f020c279@p36g2000vbn.googlegroups.com...
> You can't use Outlook VBA code in Outlook Express. Sorry.
>
> --JP
>
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Programming VBA All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum