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

Sending emails from app

1 view
Skip to first unread message

John

unread,
Aug 27, 2006, 12:59:51 PM8/27/06
to
Hi

I have a vb.net win form app that runs on a MS Small Business Server 2003
(windows 20003 server + ISA 2000 + exchange 2000). My question is how can I
send external emails from the app via code? Is there any way to leave a copy
of the sent emails in a mailbox on exchange?

Thanks

Regards


Michel Posseth [MCP]

unread,
Aug 27, 2006, 1:20:42 PM8/27/06
to
Hi John ,

Easiest way is to activate SMTP in exchange ( standard this is not
activated , so you must have control over the server ) , now you can send
e-mail from your .net app with the system.web.mail class , now create an
extra account in exchange and CC or BCC a copy of the message there

regards

Michel Posseth [MCP]


"John" <Jo...@nospam.infovis.co.uk> schreef in bericht
news:%233n53of...@TK2MSFTNGP04.phx.gbl...

John

unread,
Aug 27, 2006, 1:53:05 PM8/27/06
to
Thanks. Anyway for message to end up in exchange sent item folder and not
inbox, just to simulate sending email from outlook?

Thanks again

Regards

"Michel Posseth [MCP]" <MS...@posseth.com> wrote in message
news:exn8yzfy...@TK2MSFTNGP04.phx.gbl...

Jeff Garman [MSFT]

unread,
Oct 26, 2006, 12:11:16 AM10/26/06
to
If you are going to be running the code on the Exchange server, which it
seems that you are here, you can use CDOEX. You just need to make sure that
you use the following in your code:

.Configuration.Fields("CdoSendUsing") = cdoSendUsingExchange

Which is documented here, along with other information on using CDOEX to
send via Exchange.
http://msdn.microsoft.com/library/en-us/e2k3/e2k3/_clb_sending_a_message_using_cdoex_vb.asp

--
-Jeff

"John" <Jo...@nospam.infovis.co.uk> wrote in message
news:u7vImGgy...@TK2MSFTNGP02.phx.gbl...

0 new messages