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
D Office 365 Outlook desktop app prompts for all account passwords on startup Using Outlook 0
D Alerts in outlook Using Outlook 1
richardwing Auto forward email that is moves into a specific outlook folder Outlook VBA and Custom Forms 2
L Recommendations for Utility to Backup Outlook 365 Account Settings Using Outlook 0
J Recommendations for Outlook Duplicate Email Remover Using Outlook 6
O Outlook - How to embed font ? (If at all possible) Using Outlook 2
Z New minimum Outlook for Windows version requirements for Microsoft 365/Exchange Online Using Outlook.com accounts in Outlook 1
T How to configure Outlook for two users on a single Windows account Using Outlook 3
R Outlook 2021 Having problem setting up outlook 2021 with windows 11. I have 3 gmail accounts and I want the 3 gmail, emails to merge into the same outlook input. Using Outlook.com accounts in Outlook 0
e_a_g_l_e_p_i Outlook 2021 all appointments not showing in calendar Using Outlook 2
S Outlook 365 Can I change the possible range of highlighting colours when writing an Outlook email? Using Outlook 1
B Outlook 213 keeps crashing. I just found out there are DMP files. How can I tell Why? Using Outlook 2
H Outlook 2016 related mails in outlook Outlook VBA and Custom Forms 13
S Outlook 2021 Can you make emails from 3 word domains "safe" by entering top 2 word domain into Safe List in Outlook? Using Outlook 1
@ Outlook Using Outlook 2
kburrows Outlook 365 - Ribbon Customizations Disappear Using Outlook 0
D Wishlist How to use 'app password' in Outlook 2003 after Google pulled plug on "less secure apps" Using Outlook 2
L Restoring Outlook from backup pst file Using Outlook 5
e_a_g_l_e_p_i Kernel Outlook .pst viewer Using Outlook 3
L Outlook 365 Outlook not working on linux how to solve it Using Outlook.com accounts in Outlook 0
T Outlook 2019 Using Gmail aliases in Outlook Using Outlook 6
S Activities in Outlook Outlook VBA and Custom Forms 3
S ios outlook Using Outlook.com accounts in Outlook 0
W Transfer Outlook 2016 autocomplete file to Outlook 2007 Using Outlook 1
V iCloud calendar problems, Outlook shuts down immediately Using Outlook 2
S Outlook Macro for [Date][Subject] Using Outlook 1
E Outlook - Macro - send list of Tasks which are not finished Outlook VBA and Custom Forms 3
E Outlook - eliminate same adresses from to, and bc line Outlook VBA and Custom Forms 0
R How to force Outlook to use plain text in notes for Contacts? Using Outlook 1
J Outlook 2016 Can't display some embedded HTML images in Outlook 2016 Using Outlook 2

Similar threads

Top