Send email using Outlook in VB.NET 2005


I want to send an email via Outlook 2003 (SP1) from an page. I have

tried using the SMTP classes as recommended by Microsoft, but the environment

of my client, the email messages never arrive when sent using this method;

hense using MS Otlook on the wenserver. The code is below:

Dim oApp As [url removed, login to view]

oApp = New [url removed, login to view]

' Create a new MailItem.

Dim oMsg As [url removed, login to view]

oMsg =

CType([url removed, login to view]([url removed, login to view]), [url removed, login to view])

[url removed, login to view] = "Hello!!!"

[url removed, login to view] = "Hello World"

[url removed, login to view] = "emailladdress"

[url removed, login to view]()

The code runs fine in the Visual Studio 2005 development web server, but a

security error is thrown on publishing to iis 6 (on windows server sp1):

Retrieving the COM class factory for component with CLSID

{0006F03A-0000-0000-C000-000000000046} failed with HRESULT: 0x80070005(Access

is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))).

Can anyone advise?

Evner: .NET

Se mere: vbnet send email outlook, send email vbnet 2005, microsoftofficeinteropoutlook send email, send outlook email net 2005, vbnet 2005 send email outlook, send email vbnet 2005 using outlook, sending email outlook vbnet, vbnet 2005 outlook send mail, send email vbnet 2005 outlook, send emails outlook 2003 using vbnet, vbnet outlook send mail, vbnet 2005 sending email via outlook, vbnet using outlook send mail, sending email vbnet2005 outlock, send mail vbnet 2005, send email outlook net, send outlook email vbnet 2005, send mail outlook vbnet microsoft, vbnet 2005 send outlook mail, vbnet 2005 outlook email, vbnet 2005 outlook send email, vbnet 2005 email outlook, send email outlook vbnet, vbnet send outlook email, net send email

Om arbejdsgiveren:
( 0 bedømmelser ) Cork, Ireland

Projekt ID: #27197

4 freelancere byder i gennemsnit $60 på dette job


Pls contact us via pm,thanx

$100 USD in 3 dage
(1 bedømmelse)

Please contact for details. We have implemented similar requirments.

$50 USD in 3 dage
(0 bedømmelser)

HI, Can be Done NIcely. Please see [login to view URL]

$30 USD in 2 dage
(0 bedømmelser)

can be done in 2 days maximum

$60 USD in 2 dage
(0 bedømmelser)