Outlook Express 6

  • Thread starter Thread starter Ole Thomas Sløgedal
  • Start date 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
D.Moore Outlook desktop client suggested searches question Using Outlook 0
Y Outlook 2016 (64-bit) Copy Local Cal. Events to Another Cal. with Modified Reminder time Using Outlook 0
T Outlook 2019 While connecting an IMAP account in "classic" Outlook 2024 I caused a massive duplication of emails on the server (death loop) Using Outlook 5
D Cannot logon to Outlook.com, or outlook on Mac, outlook not updating on ipad, iphone Using Outlook 1
J unable to get my new install of Outlook to display mailboxes in the single-line format. Using Outlook 1
D Legacy Microsoft Outlook for Mac Support will end in Oct 2025 Using Outlook 5
C Nasty Bug Lurking In Outlook For Years. The Trigger. Any Fix Or Workaround? Using Outlook 11
R Auto clicking Hyperlink in outlook Outlook VBA and Custom Forms 7
ughlook Open multiple contacts in NEW Outlook? Using Outlook 2
G Outlook translation feature is off Using Outlook 2
J Outlook 2010 does not let me put any account Using Outlook.com accounts in Outlook 3
P 3 of 5 PST files don't install from d:\outlook but only from D:\ Using Outlook 7
HarvMan January Windows 10 preview update force installs new Outlook Using Outlook 1
L Outlook 2010 - new installation on Windows 11 - aplzod32.dll is not a valid Add-in Using Outlook 12
J Outlook troubleshooting/logging - option grayed out Using Outlook 2
B Arrows missing from Outlook emails vertical scrollbar Using Outlook 0
G Outlook 2021 (New) doesn't respect default browser Using Outlook 9
B Outlook or iPhone turning tabs into spaces in Outlook Notes Using Outlook 1
P newly installed Office 365 includes OLD Outlook Using Outlook 6
R Outlook ribbon menu default? Using Outlook 7
H Spam email in Gmail not visible in Outlook Using Outlook 3
J How to transfer Win 10 Outlook to new Windows 11 pc? Using Outlook 16
J Renegade spam URL line displayed in old local Outlook 365 email title Using Outlook 3
G Reduce whitespace in Outlook desktop Contact Cards display Using Outlook 3
C Outlook classic via 365 Using Outlook 2
Dr. Demento Analogous Outlook code to read info into an array (or collection or whatever) Outlook VBA and Custom Forms 7
S Repair Outlook Using Outlook 8
V Outlook Form ListBox is not editable Outlook VBA and Custom Forms 2
F Outlook's contacts Using Outlook 1
D Outlook 2003 stopped dead Using Outlook 2

Similar threads

Back
Top