Sending emails from app

  • Thread starter Thread starter John
  • Start date Start date
J

John

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
 
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]
 
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 said:
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 said:
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
 
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 said:
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 said:
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 said:
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
 
Back
Top