Suljettu

Send email using Outlook in VB.NET 2005

Hello,

I want to send an email via Outlook 2003 (SP1) from an asp.net 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?

Taidot: .NET

Näytä lisää: 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

Tietoa työnantajasta:
( 0 arvostelua ) Cork, Ireland

Projektin tunnus: #27197

4 freelanceria on tarjonnut keskimäärin 60 $ tähän työhön

siddhartha1

Pls contact us via pm,thanx

100 $ USD 3 päivässä
(1 arvostelu)
4.8
metech001

Please contact for details. We have implemented similar requirments.

50 $ USD 3 päivässä
(0 arvostelua)
0.0
Jchaudhari

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

30 $ USD 2 päivässä
(0 arvostelua)
0.0
vilasm

can be done in 2 days maximum

60 $ USD 2 päivässä
(0 arvostelua)
0.0