Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Send emails via Visual Basic

0 views
Skip to first unread message

Hugo Sousa

unread,
Nov 6, 2002, 8:59:46 AM11/6/02
to
Hello everybody,

I need to mail enable one vb app. I'd like to know, in your opinion, what's
the best aproach to do this.

Should i use MAPI ? or CDO? Should i use an app like Outlook (or other email
program that exists in the client computer) or is it best to make all the
code in my application?


Best regards

Hugo Sousa


Richard T. Edwards

unread,
Nov 7, 2002, 11:54:07 PM11/7/02
to
Much is going to depend upon how sophisticated your e-mail is and has to
look as well as what works best in your environment.

HTH

.
"Hugo Sousa" <hugo...@gestexper.pt> wrote in message
news:eha4QzZhCHA.1324@tkmsftngp11...

Gautam R. Save

unread,
Nov 8, 2002, 12:38:12 AM11/8/02
to
Hi,

u can try vbsendmail. available freely at
http://www.freevbcode.com. i've used it in my vb programs. its a very good
component.

Gautam

"Richard T. Edwards" <r.t.e...@attbi.com> wrote in message
news:PrHy9.53484$ar4.118394@sccrnsc03...

Hugo Sousa

unread,
Nov 8, 2002, 8:48:29 AM11/8/02
to
Yes, i've tried it. But in a network with Exchange 5.5 it always abort with
the message 'Relay is prohibited'.

Did you ever have used it in such environment? Do you know any way to make
it work with exchange?

Best regards

Hugo Sousa

"Gautam R. Save" <gau...@pathofoge.com> wrote in message
news:#xoFYpuhCHA.2560@tkmsftngp12...

charlieojr

unread,
Nov 8, 2002, 2:43:40 PM11/8/02
to
On Fri, 8 Nov 2002 13:48:29 -0000, "Hugo Sousa"
<hugo...@gestexper.pt> wrote:

>Yes, i've tried it. But in a network with Exchange 5.5 it always abort with
>the message 'Relay is prohibited'.
>
>Did you ever have used it in such environment? Do you know any way to make
>it work with exchange?

You should take a look at RFC2821. It will explain some important
things for people wanting to send e-mail directly from a program.

If instead of pointing the control at the Exchange server, you point
it at the actual destination server, I think your problem will go
away. Otherwise, post some code for the rest of us to see.

Blaire Comrie

unread,
Dec 25, 2002, 1:06:09 AM12/25/02
to
Mapi will use a specific account from your outllook or mail program. CDO
lets you specify a sender for each email.
Blaire Comrie
bla...@comriesoftware.com
http://www.comriesoftware.com
http://www.codewidgets.com


"Richard T. Edwards" <r.t.e...@attbi.com> wrote in message
news:PrHy9.53484$ar4.118394@sccrnsc03...

0 new messages