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

>
 
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
 
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
 
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 Question about Outlook 2021 and Gmail Using Outlook 8
J Outlook VBA to send from Non-default Account & Data Files Outlook VBA and Custom Forms 2
P Limited Support for 3rd Party Mail in new Outlook? Using Outlook 1
O Any 3rd party tool that sync (mirror) from Outlook Calendar to Google Calendar? Using Outlook 5
T Outlook is categorizing emails incorrectly Using Outlook 1
R Legacy Outlook on Mac Email Cache Using Outlook 0
A Outlook can't remember outlook.com, Exchange password. Using Outlook 3
S Related messages show in main Outlook window vice new Advanced Find windows Using Outlook 1
H Force Outlook 2019 with GMail 2-Step to Require Login? Using Outlook 0
G Retaining Tabs in outlook body Using Outlook 2
V Setting up Outlook 2021 on new computer Using Outlook 2
G Add Map It button to Custom Contacts Form in Outlook Outlook VBA and Custom Forms 1
X Custom icon (not from Office 365) for a macro in Outlook Outlook VBA and Custom Forms 1
Victor_50 Problem - Google Workspace will stop "unsafe" access to Outlook end 2024 Using Outlook 3
C New pc, new outlook, is it possible to import auto-complete emailaddress Using Outlook 4
T Outlook 365 won't take new working password Using Outlook 0
S Create Outlook Task from Template and append Body with Email Body Outlook VBA and Custom Forms 4
P Can't add custom field to custom Outlook form, it always adds to the Folder instead Outlook VBA and Custom Forms 2
B Sync Outlook Public Folders to Contacts Using Outlook 2
D Delete Outlook emails from MS server Using Outlook 12
B Outlook tasks and PDF Using Outlook 4
D Outlook 2019 is no longer asking for password ... Using Outlook 5
Kika Melo How to mark as Junk any message not from Contacts (in Outlook.com) Using Outlook 3
L Outlook attachments from OneDrive as links Using Outlook 0
G Outlook 365 My iCloud Outlook doesn’t work after reinstalling Microsoft365 on Windows 10 PC – now I get error message on contacts and calendar Using Outlook 1
T How to Export & Import GMAIL Contacts into Outlook 2021 ? Using Outlook 4
M Synchronization and backup of Outlook from local to server. Using Outlook 8
T How to get an EVENT COLOR option in Outlook 2021 ? Using Outlook 0
K How can I delete an e-mail from Outlook Using Outlook 1
V Outlook Error The Attempted operation Failed. An Object Could Not be found Outlook VBA and Custom Forms 0

Similar threads

Back
Top