Home All Groups Group Topic Archive Search About

is there way to send email throught outlook express without mapi controls ?

Author
30 Jun 2005 11:34 AM
roni
i dont like to use ocx controlx.
is there new dll for vb.net that do the job ? or newer code, to send email
throught outlook express.

Author
30 Jun 2005 10:48 AM
Ken Tucker [MVP]
Hi,

            Not through outlook express but you can use the system.web.mail
class to send emails.

http://support.microsoft.com/default.aspx?scid=kb;en-us;314201&Product=vbNET

http://support.microsoft.com/default.aspx?scid=kb;en-us;313776

http://support.microsoft.com/default.aspx?scid=kb;en-us;314199

        You can also use indy to send mail through the persons pop3 mail
account.
www.onteorasoftware.com/downloads/indysendmail.zip

http://www.indyproject.org/

Ken
--------------------------
"roni" <xservi***@hotmail.com> wrote in message
news:da0ha0$g2m$1@news2.netvision.net.il...
i dont like to use ocx controlx.
is there new dll for vb.net that do the job ? or newer code, to send email
throught outlook express.
Author
30 Jun 2005 12:20 PM
Herfried K. Wagner [MVP]
"roni" <xservi***@hotmail.com> schrieb:
>i dont like to use ocx controlx.
> is there new dll for vb.net that do the job ? or newer code, to send email
> throught outlook express.

Outlook Express doesn't provide an automation object model, thus there is no
direct way to control Outlook Express.  However, you can use .NET's
'System.Web.Mail' namespace to send emails:

Sending and receiving email
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=email&lang=en>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
30 Jun 2005 12:56 PM
Carlos J. Quintero [.NET MVP]
See http://systemwebmail.com/

--
Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

Show quoteHide quote
"roni" <xservi***@hotmail.com> escribió en el mensaje
news:da0ha0$g2m$1@news2.netvision.net.il...
>i dont like to use ocx controlx.
> is there new dll for vb.net that do the job ? or newer code, to send email
> throught outlook express.
>
>
>
Author
30 Jun 2005 2:11 PM
Cor Ligthert
Roni,

As far as the user acknowledge is it simple to sent email using Outlook
Express
(I typed it here in this message so watch typos).

Process.Start (mailto:"WhateEverEMailAdres? & _
subject="OutlookExpress&body="I hope this helps")

(This uses the default EmailClient so that has to be set to OutlookExpress
than)

I hope this helps,

Cor