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
J Outlook macro to run before email is being send Outlook VBA and Custom Forms 0
R Outlook 2021 change view Using Outlook 2
K Outlook font corrupted in some point sizes, resets on close/open Using Outlook 2
J Is the Windows Outlook Tasks module really going to be gone? Using Outlook 3
F Outlook 2010 and Hotmail Using Outlook 1
A Outlook 2021 needs 'enter' for people search Using Outlook 2
HarvMan Outlook 365 Inbox Font Using Outlook 8
Retired Geek Outlook on MAC delete duplicate Sent emails Using Outlook 0
S New Outlook - IMAP ISSUES and support for addins? Using Outlook 1
C outlook.com fonts Using Outlook 2
mickymakz Common challenges organizations face when integrating SharePoint and Outlook? Exchange Server Administration 0
R Outlook with several IMAP accounts generating folders with 1111 suffix Using Outlook 0
D Send email from Outlook Alias using Mac? Using Outlook 0
G Reply a selected message and remove blank space before signature Outlook 365 version 2406 64BIT Outlook VBA and Custom Forms 2
G Reply a selected message and remove blank space before signature Outlook 365 version 2406 64BIT Outlook VBA and Custom Forms 0
kburrows "New" Outlook Desktop App Mailbox Size Using Outlook 4
N Best way to sync calendar and contacts between Outlook 365 and Outlook on iPhone Using Outlook 4
H Macro to Delete Duplicate items in Outlook calendar where title is the same and date is the same Outlook VBA and Custom Forms 0
Y The New Outlook - Q's & Thoughts Using Outlook 28
M Start Outlook 365 at unified inbox Using Outlook 2
B Requesting VBA code to make Outlook prompt for confirmation when deleting a task? Outlook VBA and Custom Forms 4
T In-line reply style in Outlook II Outlook VBA and Custom Forms 1
G Outlook Contact Item.Restrict where FullName is NULL Outlook VBA and Custom Forms 3
J Emails with .ICS calendar invitations attached don't contents when received in Outlook 365 Using Outlook 6
W Outlook 2021 Hanging on "Sending Emails" Using Outlook 3
T Outlook Desk Top 2021 Overdoing Security Using Outlook 7
O Any 3rd party tool that sync (mirror) from Outlook Contacts to Google Contacts? Using Outlook 4
D Outlook 365 Outlook Message "Cannot be sent because the message has changed" Using Outlook 0
J Hotmail drafts started on desktop disappear, but show in web version of Outlook Using Outlook 4
Z Hotmail account deleted from outlook and issue with account not exist Using Outlook 0

Similar threads

Back
Top