473,378 Members | 1,518 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Sending emails from app

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
Aug 27 '06 #1
3 1496
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.ukschreef in bericht
news:%2****************@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

Aug 27 '06 #2
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.comwrote in message
news:ex**************@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" <Jo**@nospam.infovis.co.ukschreef in bericht
news:%2****************@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


Aug 27 '06 #3
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...g_cdoex_vb.asp

--
-Jeff

"John" <Jo**@nospam.infovis.co.ukwrote in message
news:u7**************@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]" <MS**@posseth.comwrote in message
news:ex**************@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" <Jo**@nospam.infovis.co.ukschreef in bericht
news:%2****************@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


Oct 26 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: dan glenn | last post by:
I'm creating HTML emails from a PHP site and sending them out to an email list (just about 40 people so far are on this list). I've tested and confirmed that these emails work in yahoo.com's...
10
by: Stuart Mueller | last post by:
I have an exchange server, that I sometimes use to perform mail shots to clients on our database, these can be upwards of 1000 at a time. As we don't want different clients to see who we are...
1
by: Ian Taylor | last post by:
Hi all... Is it possible to send RTF-formatted emails using the .NET SmtpMail implementation? I can only find provision in the BodyFormat property of the message to send plain text or HTML...
3
by: VB Programmer | last post by:
My company has it's own webserver, which is going to host our ASP.NET web application. We want the website to be able to send out emails. 1. What do I need on the server so that it has the...
2
by: Mr. x | last post by:
Hello, I am sending emails with Hebrew contents. When receiving emails - I cannot see the Hebrew characters (it is not outlook express configuration, because when receiving emails from friends -...
3
by: Ant | last post by:
Hi, I'm using the MailMessage & smtpMail classes in System.Web.Mail to send mail, however it's not sending any emails. I'm using it on a Windows 2003 server. The simplest way to use this is...
5
by: Kun | last post by:
i have the following code: ---------------------------------- import smtplib from email.MIMEText import MIMEText fp = open('confirmation.txt', 'rb') msg = MIMEText(fp.read()) From =...
5
by: Jai | last post by:
Hi, I am in a problem of sending mass emails(newsletter) to my website members. Actually my problem is this: I want to send newsletter to my website members. But I had given a facility for...
1
by: robbiesmith79 | last post by:
Just so this is out there on the web, I battled the past 24 hours about this. Background info... I developed a ecommerce website in PHP 4 on a shared linux hosting plan from GoDaddy and had the...
2
by: lstanikmas | last post by:
Hi, I'm validating a form with this ASP but receiving some blank email responses; does anyone see anything wrong with it?: function isFormVarExcluded(thisForm, strToCheck) { var strExcludeVars...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.