473,385 Members | 1,309 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,385 software developers and data experts.

Send email to default mail client

Hi

Can someone point me to some documentation on how to create and send email
from a win forms app using the defalt mail client

TIA Steve
Jul 21 '05 #1
4 2284
System.Web.Mail namespace contains what you need to send emails. It does not
use the default mail client to send them (your mails won't appear in the
sent items, for example), and it does require an SMTP service (either the
standard one installed locally, or one specified).

I dont beleive that there is a standard way to drive just any mail client,
becuase there are dozens of them out there, although there are differing
ways to drive differing clients.

Nick Holmes.

"runningdog" <ru********@reply.to.newsgroup> wrote in message
news:40***********************@lon-reader.news.telstra.net...
Hi

Can someone point me to some documentation on how to create and send email
from a win forms app using the defalt mail client

TIA Steve

Jul 21 '05 #2
I thought driving an email client might be an issue so I was hoping there
might be a library to format and write .eml file.

I couldn't find System.Web.Mail, I have imported System.Web but .Mail just
doesn't seem to be there. Is this because I am in a winforms app?

Steve

"Nick Holmes" <ni***@nospam.com> wrote in message
news:eW**************@tk2msftngp13.phx.gbl...
System.Web.Mail namespace contains what you need to send emails. It does not use the default mail client to send them (your mails won't appear in the
sent items, for example), and it does require an SMTP service (either the
standard one installed locally, or one specified).

I dont beleive that there is a standard way to drive just any mail client,
becuase there are dozens of them out there, although there are differing
ways to drive differing clients.

Nick Holmes.

"runningdog" <ru********@reply.to.newsgroup> wrote in message
news:40***********************@lon-reader.news.telstra.net...
Hi

Can someone point me to some documentation on how to create and send email from a win forms app using the defalt mail client

TIA Steve


Jul 21 '05 #3
You need in reference the System.Web.dll. There is no reason why you can use
this from a WinForms application.

Nick.
"runningdog" <ru********@reply.to.newsgroup> wrote in message
news:40***********************@lon-reader.news.telstra.net...
I thought driving an email client might be an issue so I was hoping there
might be a library to format and write .eml file.

I couldn't find System.Web.Mail, I have imported System.Web but .Mail just
doesn't seem to be there. Is this because I am in a winforms app?

Steve

"Nick Holmes" <ni***@nospam.com> wrote in message
news:eW**************@tk2msftngp13.phx.gbl...
System.Web.Mail namespace contains what you need to send emails. It does

not
use the default mail client to send them (your mails won't appear in the
sent items, for example), and it does require an SMTP service (either the
standard one installed locally, or one specified).

I dont beleive that there is a standard way to drive just any mail client, becuase there are dozens of them out there, although there are differing
ways to drive differing clients.

Nick Holmes.

"runningdog" <ru********@reply.to.newsgroup> wrote in message
news:40***********************@lon-reader.news.telstra.net...
Hi

Can someone point me to some documentation on how to create and send

email from a win forms app using the defalt mail client

TIA Steve



Jul 21 '05 #4
Thanks I must have had my dim glasses on yesterday! It is right there where
I said it wasn't.

"Nick Holmes" <ni***@nospam.com> wrote in message
news:uA**************@tk2msftngp13.phx.gbl...
You need in reference the System.Web.dll. There is no reason why you can use this from a WinForms application.

Nick.
"runningdog" <ru********@reply.to.newsgroup> wrote in message
news:40***********************@lon-reader.news.telstra.net...
I thought driving an email client might be an issue so I was hoping there
might be a library to format and write .eml file.

I couldn't find System.Web.Mail, I have imported System.Web but .Mail just doesn't seem to be there. Is this because I am in a winforms app?

Steve

"Nick Holmes" <ni***@nospam.com> wrote in message
news:eW**************@tk2msftngp13.phx.gbl...
System.Web.Mail namespace contains what you need to send emails. It does
not
use the default mail client to send them (your mails won't appear in

the sent items, for example), and it does require an SMTP service (either

the standard one installed locally, or one specified).

I dont beleive that there is a standard way to drive just any mail client, becuase there are dozens of them out there, although there are differing ways to drive differing clients.

Nick Holmes.

"runningdog" <ru********@reply.to.newsgroup> wrote in message
news:40***********************@lon-reader.news.telstra.net...
> Hi
>
> Can someone point me to some documentation on how to create and send

email
> from a win forms app using the defalt mail client
>
> TIA Steve
>
>



Jul 21 '05 #5

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

Similar topics

0
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ...
40
by: ian | last post by:
Hi, I'm a newbie (oh no I can here you say.... another one...) How can I get Python to send emails using the default windows email client (eg outlook express)? I thought I could just do the...
5
by: nate heaton | last post by:
I would like to do the following with C# in my asp.net app: Open the default email client of the user (just like a mailto: link would). Supply the subject line and put some HTML (including an...
0
by: David Burson | last post by:
Hi, I have a VB.NET windows app that needs to automatically send a simple text email when my users run a new version of the app for the first time. I thought this would be simple, but after...
2
by: Ronny Sigo | last post by:
Hello all, I a struggling for a few days now to find a way to send automated mail. I succeeded except that MS Outlook always gives me those 2 stupid warnings that 1) a "program tries to get...
4
by: runningdog | last post by:
Hi Can someone point me to some documentation on how to create and send email from a win forms app using the defalt mail client TIA Steve
15
by: cj | last post by:
How can I get a button in VB to send the contents of a text box via email in a manner similar to the "Send To\Mail Recipient" functionality that you can select via right clicking a file in Windows...
5
by: Sin Jeong-hun | last post by:
Hi. I would like to let users send bug reports or other messages to me. Maybe the easiest way to send e-mails from my application is just use the default e-mail agent by executing a link...
16
by: =?Utf-8?B?Q2hlZg==?= | last post by:
I can use outlook2003 to send email,but I cann't use this code below to send email. Please help me to test this code and instruct me how to solve this problem in detail. software...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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.