473,385 Members | 1,798 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.

Gotta buy a library to send E-mail without SMTP client?

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
mailto://my****@domail.com.

But this only works if the user has configured Outlook or something.
Many users use web-based mails here so if I do so, Outlook Express's a
new account wizard will pop-up. Futhure more this reveals user e-mails.
Some people want to be anonymous .

The second choise is to use SMTPClient. But to do so, either I have an
SMTP server that doesn't require login (I don't know any free SMTP
server like this) or should put my SMTP login information (for example,
my gmail credential) into the application. Of course, I don't want my
e-mail credential is embedded into the application.

I just want to send a simple text-based e-mail directly from the user's
computer like many other applications. I searched the internet but all
examples are based on the SMTPClient class. I found some direct sending
examples but they used commercial library (which is not free).

So, I've got to buy a library to send E-mail without SMTP client? Or is
there any free library? I just want to send very simple text-based
e-mails.

Thank you.

Jan 17 '07 #1
5 4189
Approaching it from another angle, could you not give the client a normal
HTML form with an input field for their email address and a subject line,
and a text area for the email body. The send button would post the form to
the server, at which point you could use the Smtp object in DotNet on the
server (if you've got that set up, or are in a position to set it up)

"Sin Jeong-hun" <ty*******@gmail.comwrote in message
news:11**********************@l53g2000cwa.googlegr oups.com...
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
mailto://my****@domail.com.

But this only works if the user has configured Outlook or something.
Many users use web-based mails here so if I do so, Outlook Express's a
new account wizard will pop-up. Futhure more this reveals user e-mails.
Some people want to be anonymous .

The second choise is to use SMTPClient. But to do so, either I have an
SMTP server that doesn't require login (I don't know any free SMTP
server like this) or should put my SMTP login information (for example,
my gmail credential) into the application. Of course, I don't want my
e-mail credential is embedded into the application.

I just want to send a simple text-based e-mail directly from the user's
computer like many other applications. I searched the internet but all
examples are based on the SMTPClient class. I found some direct sending
examples but they used commercial library (which is not free).

So, I've got to buy a library to send E-mail without SMTP client? Or is
there any free library? I just want to send very simple text-based
e-mails.

Thank you.

Jan 17 '07 #2
Thanks. That could be an options. But this requires a web server
account. And sometimes I need send real e-mails from client
applications at another circumstances. So basically, there's no way
except buying a library or using web server mail? I just want to know
that.

Paul Hadfield wrote:
Approaching it from another angle, could you not give the client a normal
HTML form with an input field for their email address and a subject line,
and a text area for the email body. The send button would post the form to
the server, at which point you could use the Smtp object in DotNet on the
server (if you've got that set up, or are in a position to set it up)

"Sin Jeong-hun" <ty*******@gmail.comwrote in message
news:11**********************@l53g2000cwa.googlegr oups.com...
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
mailto://my****@domail.com.

But this only works if the user has configured Outlook or something.
Many users use web-based mails here so if I do so, Outlook Express's a
new account wizard will pop-up. Futhure more this reveals user e-mails.
Some people want to be anonymous .

The second choise is to use SMTPClient. But to do so, either I have an
SMTP server that doesn't require login (I don't know any free SMTP
server like this) or should put my SMTP login information (for example,
my gmail credential) into the application. Of course, I don't want my
e-mail credential is embedded into the application.

I just want to send a simple text-based e-mail directly from the user's
computer like many other applications. I searched the internet but all
examples are based on the SMTPClient class. I found some direct sending
examples but they used commercial library (which is not free).

So, I've got to buy a library to send E-mail without SMTP client? Or is
there any free library? I just want to send very simple text-based
e-mails.

Thank you.
Jan 17 '07 #3
I would like to let users send bug reports or other messages to me.
Well, if you don't want to use "mailto:", and don't want to setup mail
at the server, then why use e-mail at all? Why not just have an
"e-mail like" submittal form that posts to a page that logs the data
into a database, flat file (etc) - and have a protected page on the
same site that you can use to review the feedback?

Just a thought...

Marc
Jan 17 '07 #4
"Sin Jeong-hun" <ty*******@gmail.comwrote in message
news:11**********************@l53g2000cwa.googlegr oups.com...
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
mailto://my****@domail.com.

But this only works if the user has configured Outlook or something.
Many users use web-based mails here so if I do so, Outlook Express's a
new account wizard will pop-up. Futhure more this reveals user e-mails.
Some people want to be anonymous .

The second choise is to use SMTPClient. But to do so, either I have an
SMTP server that doesn't require login (I don't know any free SMTP
server like this) or should put my SMTP login information (for example,
my gmail credential) into the application. Of course, I don't want my
e-mail credential is embedded into the application.
SMTP servers don't require you to login to send them mail that's going to
them. If your "To" address is a gmail address then you can query DNS for
the MX information for gmail.com and it will tell you the public SMTP
servers that will accept incoming mail.

However, many companies block outbound SMTP traffic unless it's coming from
their SMTP server. You should probably check the SMTPServer, if it's set to
something, use that rather than setting it to go direct. If your customer
is blocking outbound SMTP traffic, they have to set the SMTP Server in the
Machine.config or in your app.config.

Jan 17 '07 #5

COuld you develop a basic webservice ... that takes:

to , from , subject , body

as parameters. And code up your app to call this web service to send
emails.

Or even very basic credential info.

to, from, subject, body, senderUserName , senderPassword

..............

Can you encrypt the Gmail (for example )account info?
............

also check my blog entry:

you could encrypt gmail credentials.... and have "backup" smtp servers:

http://sholliday.spaces.live.com/blog/

2/8/2006
Smarter Email/Smtp setup with DotNet Configuration Sections (1.1 and 2.0)

"Sin Jeong-hun" <ty*******@gmail.comwrote in message
news:11**********************@l53g2000cwa.googlegr oups.com...
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
mailto://my****@domail.com.

But this only works if the user has configured Outlook or something.
Many users use web-based mails here so if I do so, Outlook Express's a
new account wizard will pop-up. Futhure more this reveals user e-mails.
Some people want to be anonymous .

The second choise is to use SMTPClient. But to do so, either I have an
SMTP server that doesn't require login (I don't know any free SMTP
server like this) or should put my SMTP login information (for example,
my gmail credential) into the application. Of course, I don't want my
e-mail credential is embedded into the application.

I just want to send a simple text-based e-mail directly from the user's
computer like many other applications. I searched the internet but all
examples are based on the SMTPClient class. I found some direct sending
examples but they used commercial library (which is not free).

So, I've got to buy a library to send E-mail without SMTP client? Or is
there any free library? I just want to send very simple text-based
e-mails.

Thank you.

Jan 17 '07 #6

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

Similar topics

1
by: Dan Beanweed | last post by:
I have this xslt : <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:param name="p" select="'q'"/> <xsl:output...
10
by: RD | last post by:
I am retrieving 6 fields from an SQL server 2000 table with following sql statement. SQL = "select Field1, field2, field3, field4, field5, field6 from table1" Last field ( field 6) is defined...
0
by: tony | last post by:
Hello! I'm not sure if this is the right group to send my question in. I have one solution file that consist of three project. One project that build the exe file called A One project that...
1
by: leifwessman | last post by:
Google Analytics are using a encrypted JavaScript library to send and read 1st party cookies using. The JS library can be found here http://www.google-analytics.com/urchin.js Is there a free JS...
3
by: Richard Carpenter | last post by:
I have a simple winform with a customers combobox, a "get orders" button and an orders grid. Due to other requirements, I have implemented the form to allow the user to select a customer from the...
3
by: SimonPlatten | last post by:
Hi, I'm a software engineer working in the offshore industry, I've been coding in various languages professionally since 1987. In my present employment I am working with control systems in the...
1
by: rich_sposato | last post by:
I released version 2.0 of C++ Unit Test Library. You can download it from SourceForget.Net at http://sourceforge.net/projects/cppunittest/ .. I wrote this unit test library because other unit...
3
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
(I have posted this separately to comp.lang.c++ and comp.lang.c, reason being that I'd like a response from both communities, but I haven't cross-posted it because I think it's best not to mix C...
1
by: Sylfelin | last post by:
Hello, If I use Microsoft Outlook 12.0 Object Library (Outlook 2007) COM Object in my application, the custommer must have the outlook 2007 on his computer ? But if i use Microsoft Outlook...
24
by: Aaron Gray | last post by:
From what I have been looking at for Javascript library development, browsers that support Javascript 1.5/ECMAScript 3/JScript 5.5 looks like the base level to pitch at. Anyone add anything ? ...
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: 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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.