Home All Groups Group Topic Archive Search About

Sending emails from app

Author
27 Aug 2006 4:59 PM
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

Author
27 Aug 2006 5:20 PM
Michel Posseth [MCP]
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]


Show quoteHide quote
"John" <John@nospam.infovis.co.uk> schreef in bericht
news:%233n53ofyGHA.4092@TK2MSFTNGP04.phx.gbl...
> 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
>
Author
27 Aug 2006 5:53 PM
John
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

Show quoteHide quote
"Michel Posseth [MCP]" <M***@posseth.com> wrote in message
news:exn8yzfyGHA.4392@TK2MSFTNGP04.phx.gbl...
> 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" <John@nospam.infovis.co.uk> schreef in bericht
> news:%233n53ofyGHA.4092@TK2MSFTNGP04.phx.gbl...
>> 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
>>
>
>
Author
26 Oct 2006 4:11 AM
Jeff Garman [MSFT]
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

Show quoteHide quote
"John" <John@nospam.infovis.co.uk> wrote in message
news:u7vImGgyGHA.3552@TK2MSFTNGP02.phx.gbl...
> 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]" <M***@posseth.com> wrote in message
> news:exn8yzfyGHA.4392@TK2MSFTNGP04.phx.gbl...
>> 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" <John@nospam.infovis.co.uk> schreef in bericht
>> news:%233n53ofyGHA.4092@TK2MSFTNGP04.phx.gbl...
>>> 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
>>>
>>
>>
>
>