Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > C library to send email

Reply
Thread Tools

C library to send email

 
 
parser
Guest
Posts: n/a
 
      09-16-2006
is there any C library ( popular or standardized ) for sending emails?

 
Reply With Quote
 
 
 
 
Spiros Bousbouras
Guest
Posts: n/a
 
      09-16-2006
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.

 
Reply With Quote
 
 
 
 
CBFalconer
Guest
Posts: n/a
 
      09-16-2006
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

 
Reply With Quote
 
Richard Heathfield
Guest
Posts: n/a
 
      09-16-2006
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)
 
Reply With Quote
 
Spiros Bousbouras
Guest
Posts: n/a
 
      09-16-2006
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 ?

 
Reply With Quote
 
Richard Heathfield
Guest
Posts: n/a
 
      09-16-2006
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)
 
Reply With Quote
 
Spiros Bousbouras
Guest
Posts: n/a
 
      09-16-2006
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.

 
Reply With Quote
 
Richard Heathfield
Guest
Posts: n/a
 
      09-16-2006
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)
 
Reply With Quote
 
Roland Pibinger
Guest
Posts: n/a
 
      09-17-2006
On 16 Sep 2006 05:31:53 -0700, "parser" <>
wrote:
>is there any C library ( popular or standardized ) for sending emails?


Maybe http://www.stafford.uklinux.net/libesmtp/

 
Reply With Quote
 
parser
Guest
Posts: n/a
 
      09-18-2006

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.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
which email module - MIME::LITE, Email::Send, other? brewsterbear@googlemail.com Perl Misc 2 01-05-2007 09:45 AM
Send email using LotusNotes Object Library =?Utf-8?B?TWVnYW4=?= ASP .Net 0 05-18-2006 12:40 AM
Cannot compose ,reply or send email on Sasktel email system pcbutts1 Computer Support 5 07-29-2005 06:13 AM
why cant i send email messages from this email Billie Jo Ames Computer Support 8 06-30-2005 12:24 PM
HowTo:? open email client to send email Peter ASP .Net 0 07-01-2003 04:58 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57