|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Sending emails from appHi
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] 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 > 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 >> > > 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 -- Show quoteHide quote-Jeff "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 >>> >> >> > >
Missing operand
How can I use a dll with several programs? vb2005 and ce net 4.2 What exactly does this message mean? convert function from VB.6 to VB.NET API found in C# but not VB? books for vb.net Binding Data to Dataset or Table disable/enable menu items How to find out current Screen resolution? |
|||||||||||||||||||||||