Outlook Express 6

  • Thread starter Ole Thomas Sløgedal
  • Start date
Status
Not open for further replies.
O

Ole Thomas Sløgedal

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
 
V

Vince Averello

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

>
 
J

JP

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

--JP

On Sep 20, 3:58 am, "Ole Thomas Sløgedal" <ole-...@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
 
O

Ole Thomas Sløgedal

OK. Thank you very much. What is the best mailprogram for this. I have

Windows XP and VB 5.

Ole T.

"JP" <jp2112@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-...@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
 
J

JP

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-...@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...@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
>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
G Outlook Express (DBX) to Outlook (PST) Conversion Software Wanted Using Outlook 1
M Convertor for Outlook Express Mail Store (.dbx) to Outlook Mail Store (.pst) Using Outlook 0
emmastone29 How to use Roadrunner email in Outlook Express? Using Outlook 1
Diane Poremsky Outlook vs. Outlook Express Using Outlook 0
Diane Poremsky Moving from Outlook Express to Outlook Using Outlook 0
M Outlook Express emails disappeared - can I get them back? Exchange Server Administration 1
M Converting from Outlook Express to Outlook 2013 Using Outlook 5
B From Outlook Express to Outlook? Using Outlook 3
O looking to bring in all my folders from Outlook Express (XP) to Outlook 2013 Using Outlook 3
S Anyone know how to transfer Outlook Express "Identities" to Outlook 2010 ... Using Outlook 1
M Outlook Express won't open Using Outlook 1
S Outlook express 6.0 error msg Using Outlook 1
C Cannot find outlook express Using Outlook 6
D Outlook 2007 - MeetingPlace Express - Calendar error Using Outlook 1
P Migrating Outlook Express files to new pc Using Outlook 2
J Is it Outlook or Outlook Express Using Outlook 1
R i want notifier in outlook express , please help how can i get ? Outlook VBA and Custom Forms 1
M Outlook / BCM / SQL 2005 Express Windows 7 BCM (Business Contact Manager) 3
E Re:BCM failed to install in outlook 2007 due to SQL Server Express 20 BCM (Business Contact Manager) 1
K Outlook Express BCM (Business Contact Manager) 2
e_a_g_l_e_p_i Need clarification on 2-Step Verification for Gmail using Outlook 2021 Using Outlook 9
L Opening People Outlook 2021 Using Outlook 2
e_a_g_l_e_p_i Outlook 2021 not letting me setup my Gmail using pop Using Outlook 1
Geldner Problem submitting SPAM using Outlook VBA Form Outlook VBA and Custom Forms 2
P VBA to add email address to Outlook 365 rule Outlook VBA and Custom Forms 0
M Outlook 2016 outlook vba to look into shared mailbox Outlook VBA and Custom Forms 0
P Can no longer sync Outlook with iPhone calendar after iPhone update to 17.1.1 Using Outlook 2
O Outlook - Switch from Exchange to IMAP Using Outlook 1
e_a_g_l_e_p_i Is it possible to have a reminder in Outlook 2021 for every 90 days Using Outlook 3
farrissf Outlook 2016 Optimizing Email Searches in Outlook 2016: Seeking Insights on Quick Search vs Advanced Search Features Using Outlook 0
C Advanced search terms for "Outlook Data File" Using Outlook 1
N Reply to Outlook messages by moving messages to a specific Outlook folder Outlook VBA and Custom Forms 1
O How to find out the domain and server settings that my Outlook is using? Using Outlook 2
A Outlook 365 (OutLook For Mac)Move "On My Computer" Folder Items From Old To New Mac Computer Using Outlook 3
H Integrating Alexa & Outlook Pro 2021 Using Outlook 2
Z Automatically adjust Outlook Reading Pane from bottom to right depending on portrait or landscape window Using Outlook 1
Rupert Dragwater Background colors not saving in Outlook 365 Using Outlook 15
petunia Outlook tasks module sunsetting? Exchange Server Administration 3
G Save emails as msg file from Outlook Web AddIn (Office JS) Outlook VBA and Custom Forms 0
D Outlook VBA forward the selected email to the original sender’s email ID (including the email used in TO, CC Field) from the email chain Outlook VBA and Custom Forms 3
U Outlook 2021 not showing contact cards in Searches Using Outlook 1
C Outlook - Macro to block senders domain - Macro Fix Outlook VBA and Custom Forms 2
H Outlook 365 O365 outlook calendar item editing Using Outlook 1
J Outlook 365 html inline images Using Outlook 0
Rupert Dragwater How to get Outlook 365 to open from websites Using Outlook 5
S Why do I have to close and reopen Outlook for macros to work? Outlook VBA and Custom Forms 2
J Outlook 2021 ScanPST errors (yet again ... sorry): repair button missing Outlook 2021 Using Outlook 0
HarvMan Outlook 365 - Rule to Move an Incoming Message to Another Folder Using Outlook 4
K Moved pst to new computer, now Gmail not coming into Outlook Using Outlook 7
S Email Macros to go to a SHARED Outlook mailbox Draft folder...NOT my personal Outlook Draft folder Using Outlook 2

Similar threads

Top