By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,967 Members | 1,690 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,967 IT Pros & Developers. It's quick & easy.

C library to send email

P: n/a
is there any C library ( popular or standardized ) for sending emails?

Sep 16 '06 #1
Share this Question
Share on Google+
9 Replies


P: n/a
parser wrote:
is there any C library ( popular or standardized ) for sending emails?
What exactly do you have in mind ? If you already
have in some file the text you want to email then you
only have to use something like system("mail") or whatever
command your platform uses to send emails. But if you
want some library where you specify a file which will be the
body of the email plus additional files which will serve as
attachments and the library will combine those in a file which
satisfies the MIME protocoll then I don't know. Actually I'm
planning to write such a library myself eventually.

Sep 16 '06 #2

P: n/a
parser said:
is there any C library ( popular or standardized ) for sending emails?
Why not just fish out the appropriate RFC and knock up your own?

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Sep 16 '06 #3

P: n/a
Richard Heathfield wrote:
parser said:
is there any C library ( popular or standardized ) for sending emails?

Why not just fish out the appropriate RFC and knock up your own?
Because life is short ?

Sep 16 '06 #4

P: n/a
Spiros Bousbouras said:
Richard Heathfield wrote:
>parser said:
is there any C library ( popular or standardized ) for sending emails?

Why not just fish out the appropriate RFC and knock up your own?

Because life is short ?
SMTP? Two monkeys, ten minutes.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Sep 16 '06 #5

P: n/a
Richard Heathfield wrote:
Spiros Bousbouras said:
Richard Heathfield wrote:
parser said:

is there any C library ( popular or standardized ) for sending emails?

Why not just fish out the appropriate RFC and knock up your own?
Because life is short ?

SMTP? Two monkeys, ten minutes.
RFC821 is 67 pages. 10 minutes for 67 pages ?
I don't think so unless you're a rapid reading
wizard.

Sep 16 '06 #6

P: n/a
Spiros Bousbouras said:
Richard Heathfield wrote:
>Spiros Bousbouras said:
Richard Heathfield wrote:

parser said:

is there any C library ( popular or standardized ) for sending
emails?

Why not just fish out the appropriate RFC and knock up your own?

Because life is short ?

SMTP? Two monkeys, ten minutes.

RFC821 is 67 pages. 10 minutes for 67 pages ?
I don't think so unless you're a rapid reading
wizard.
You can skip the boring bits. :-)

Seriously, SMTP is pretty easy. The hard bit of writing an email client is
/not/ the sending and receiving of email. It's all the stuff around the
edge - GUI, the various encodings, and so on. Sending the stuff is pretty
trivial. The protocol is a simple one.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Sep 16 '06 #7

P: n/a
parser wrote:
>
is there any C library ( popular or standardized ) for sending emails?
Standard. Look up putc().

--
"The most amazing achievement of the computer software industry
is its continuing cancellation of the steady and staggering
gains made by the computer hardware industry..." - Petroski
--
Posted via a free Usenet account from http://www.teranews.com

Sep 17 '06 #8

P: n/a
On 16 Sep 2006 05:31:53 -0700, "parser" <sa*************@gmail.com>
wrote:
>is there any C library ( popular or standardized ) for sending emails?
Maybe http://www.stafford.uklinux.net/libesmtp/

Sep 17 '06 #9

P: n/a

Spiros Bousbouras wrote:
parser wrote:
is there any C library ( popular or standardized ) for sending emails?

What exactly do you have in mind ? If you already
i know of libesmtp but i want a portable one that has bindings on
almost all the platforms(UNIX/WINDOWS). if there isnt a one i would
have to write my own.
have in some file the text you want to email then you
only have to use something like system("mail") or whatever
command your platform uses to send emails. But if you
want some library where you specify a file which will be the
body of the email plus additional files which will serve as
attachments and the library will combine those in a file which
satisfies the MIME protocoll then I don't know. Actually I'm
planning to write such a library myself eventually.
Sep 18 '06 #10

This discussion thread is closed

Replies have been disabled for this discussion.