Fermé

Send email using Outlook in [url removed, login to view] 2005

Hello,

I want to send an email via Outlook 2003 (SP1) from an [url removed, login to view] 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?

Compétences : .NET

Voir plus : vbnet send email outlook, send email vbnet 2005, sending email outlook vbnet, vbnet outlook send mail, sending email vbnet2005 outlock, send mail vbnet 2005, send email outlook net, vbnet 2005 outlook email, vbnet 2005 email outlook, send email outlook vbnet, vbnet send outlook email, net send email, retrieving, vb this, access web development, in sent, 2005 send email outlook, create outlook email aspnet

Concernant l'employeur :
( 0 commentaires ) Cork, Ireland

N° du projet : #27197

4 freelance ont fait une offre moyenne de 60 $ pour ce travail

siddhartha1

Pls contact us via pm,thanx

100 $ USD en 3 jours
(1 Commentaire)
4.8
metech001

Please contact for details. We have implemented similar requirments.

50 $ USD en 3 jours
(0 Commentaires)
0.0
Jchaudhari

HI, Can be Done NIcely. Please see PMB.Thanx

30 $ USD en 2 jours
(0 Commentaires)
0.0
vilasm

can be done in 2 days maximum

60 $ USD en 2 jours
(0 Commentaires)
0.0