digitalmars.D - email client lib
- BCS (3/3) May 31 2006 IIRC someone posted a module that made it real nice to send e-mails. I
- Unknown W. Brackets (6/9) Jun 01 2006 I don't know, but it's dirt easy. Are you looking for something that
- BCS (8/14) Jun 02 2006 I was hoping to go the SMTP route. I have tried it with telnet (successf...
- Georg Wrede (3/22) Jun 02 2006 Don't you ever send e-mail from school/office/home? Why not use the same...
- BCS (7/25) Jun 02 2006 My dev system is on a closed network and I haven't had any need for an S...
- Regan Heath (10/42) Jun 06 2006 This is a bit of a plug for the SMTP server I work on, but .. You can
- Marcio (3/14) Jun 08 2006 Is it written in D? :-)
- Regan Heath (3/14) Jun 08 2006 No, plain old C.
- Marcio (5/8) Jun 08 2006 But it looks like a perfect candidate for D, no? Garbage collection,
- Regan Heath (5/11) Jun 08 2006 We build for Windows, Linux, FreeBSD, Solaris (SPARC and x86), Mac OS X,...
- Marcio (3/5) Jun 09 2006 Not even the "GCC for D" project (GDC?) ?
- Regan Heath (5/9) Jun 09 2006 You may be right.. I'd have to build it on all our build machines, but i...
- Dejan Lekic (1/1) Jun 13 2006 People can write applications without IDEs too...
- BCS (3/16) Jun 12 2006 Nice product, easy install, easy setup, and a whole bucket-o-features
- Regan Heath (2/14) Jun 12 2006
- Marcio (2/6) Jun 08 2006 Have heard good things about Apache James http://james.apache.org/
- Unknown W. Brackets (19/26) Jun 02 2006 Sure.
- kris (4/30) Jun 02 2006 Nice! So, is there an SMTP client available also? And how about a POP3
- Unknown W. Brackets (5/38) Jun 02 2006 I haven't written an SMTP server in D. This is just an SMTP client.
- Unknown W. Brackets (7/14) Jun 02 2006 Sorry, I think I misread your message. I thought you meant a known good...
IIRC someone posted a module that made it real nice to send e-mails. I can't seem to find the link. Anyone happen to remember where it is? It was something like 6-12 months ago.
May 31 2006
I don't know, but it's dirt easy. Are you looking for something that just does the sendmail communication for you, or a simple SMTP client? I've written and used both in D. I personally prefer SMTP, because it works on Windows too, but sendmail can (can) be more efficient and requires less runtime setup (e.g. hostname, username, and password.) -[Unknown]IIRC someone posted a module that made it real nice to send e-mails. I can't seem to find the link. Anyone happen to remember where it is? It was something like 6-12 months ago.
Jun 01 2006
In article <e5od0i$2kk4$1 digitaldaemon.com>, Unknown W. Brackets says...I don't know, but it's dirt easy. Are you looking for something that just does the sendmail communication for you, or a simple SMTP client? I've written and used both in D. I personally prefer SMTP, because it works on Windows too, but sendmail can (can) be more efficient and requires less runtime setup (e.g. hostname, username, and password.) -[Unknown]I was hoping to go the SMTP route. I have tried it with telnet (successfully) and tried to write a function to do it (with a little less success). I'm a bit hampered by not having a known good SMTP server accessible. If you would be interested in sharing your code I would really appreciate that. What I'm looking at doing is a lib for a sort of automatic assert failure reporter that would e-mail in a stack-trace and other misc state when an assert trips.
Jun 02 2006
BCS wrote:Unknown W. Brackets says...Don't you ever send e-mail from school/office/home? Why not use the same SMTP server that your computer uses?I don't know, but it's dirt easy. Are you looking for something that just does the sendmail communication for you, or a simple SMTP client? I've written and used both in D. I personally prefer SMTP, because it works on Windows too, but sendmail can (can) be more efficient and requires less runtime setup (e.g. hostname, username, and password.)I was hoping to go the SMTP route. I have tried it with telnet (successfully) and tried to write a function to do it (with a little less success). I'm a bit hampered by not having a known good SMTP server accessible.If you would be interested in sharing your code I would really appreciate that. What I'm looking at doing is a lib for a sort of automatic assert failure reporter that would e-mail in a stack-trace and other misc state when an assert trips.
Jun 02 2006
In article <4480BA1B.7050001 nospam.org>, Georg Wrede says...BCS wrote:My dev system is on a closed network and I haven't had any need for an SMTP server till now. If anyone has any suggestions as to a free server program that I could use (Linux or win) I would like that. I think I have sendmail up and running on the Linux box but it seems to be a bit flakey (most likely because I don't know how to make it work right).Unknown W. Brackets says...Don't you ever send e-mail from school/office/home? Why not use the same SMTP server that your computer uses?I don't know, but it's dirt easy. Are you looking for something that just does the sendmail communication for you, or a simple SMTP client? I've written and used both in D. I personally prefer SMTP, because it works on Windows too, but sendmail can (can) be more efficient and requires less runtime setup (e.g. hostname, username, and password.)I was hoping to go the SMTP route. I have tried it with telnet (successfully) and tried to write a function to do it (with a little less success). I'm a bit hampered by not having a known good SMTP server accessible.
Jun 02 2006
On Sat, 3 Jun 2006 00:39:46 +0000 (UTC), BCS <BCS_member pathlink.com> wrote:In article <4480BA1B.7050001 nospam.org>, Georg Wrede says...This is a bit of a plug for the SMTP server I work on, but .. You can download, install and run SurgeMail for FREE for 30 days, or even get a FREE 5 user license :) http://netwinsite.com/surgemail/ If you need any help with the server you can email me at work (the email I use here is my work address). If you need any help with any aspect of POP3, IMAP, or SMTP I can also help, just use the same address. ReganBCS wrote:My dev system is on a closed network and I haven't had any need for an SMTP server till now. If anyone has any suggestions as to a free server program that I could use (Linux or win) I would like that. I think I have sendmail up and running on the Linux box but it seems to be a bit flakey (most likely because I don't know how to make it work right).Unknown W. Brackets says...Don't you ever send e-mail from school/office/home? Why not use the same SMTP server that your computer uses?I don't know, but it's dirt easy. Are you looking for something that just does the sendmail communication for you, or a simple SMTP client? I've written and used both in D. I personally prefer SMTP, because it works on Windows too, but sendmail can (can) be more efficient and requires less runtime setup (e.g. hostname, username, and password.)I was hoping to go the SMTP route. I have tried it with telnet (successfully) and tried to write a function to do it (with a little less success). I'm a bit hampered by not having a known good SMTP server accessible.
Jun 06 2006
Regan Heath wrote:This is a bit of a plug for the SMTP server I work on, but .. You can download, install and run SurgeMail for FREE for 30 days, or even get a FREE 5 user license :) http://netwinsite.com/surgemail/ If you need any help with the server you can email me at work (the email I use here is my work address). If you need any help with any aspect of POP3, IMAP, or SMTP I can also help, just use the same address. ReganIs it written in D? :-) marcio
Jun 08 2006
On Thu, 08 Jun 2006 14:40:41 -0400, Marcio <mqmnews123 sglebs.com> wrote:Regan Heath wrote:No, plain old C. ReganThis is a bit of a plug for the SMTP server I work on, but .. You can download, install and run SurgeMail for FREE for 30 days, or even get a FREE 5 user license :) http://netwinsite.com/surgemail/ If you need any help with the server you can email me at work (the email I use here is my work address). If you need any help with any aspect of POP3, IMAP, or SMTP I can also help, just use the same address. ReganIs it written in D? :-)
Jun 08 2006
Regan Heath wrote:But it looks like a perfect candidate for D, no? Garbage collection, fast executable, portable code, smaller maintenance cost hopefully, etc. On the other hand, the lack of an IDE sucks... marcioIs it written in D? :-)No, plain old C.
Jun 08 2006
On Thu, 08 Jun 2006 21:46:13 -0400, Marcio <mqmnews123 sglebs.com> wrote:Regan Heath wrote:We build for Windows, Linux, FreeBSD, Solaris (SPARC and x86), Mac OS X, .. D's not quite portable enough yet ;)But it looks like a perfect candidate for D, no? Garbage collection, fast executable, portable code, smaller maintenance cost hopefully, etc.Is it written in D? :-)No, plain old C.On the other hand, the lack of an IDE sucks...Yeah.. I am very used to MSVC with my debugger etc. Regan
Jun 08 2006
Regan Heath wrote:We build for Windows, Linux, FreeBSD, Solaris (SPARC and x86), Mac OS X, .. D's not quite portable enough yet ;)Not even the "GCC for D" project (GDC?) ? marcio
Jun 09 2006
On Fri, 09 Jun 2006 09:42:07 -0400, Marcio <mqmnews123 sglebs.com> wrote:Regan Heath wrote:You may be right.. I'd have to build it on all our build machines, but it could work. I can't see the boss liking the idea tho, not for the existing/established project/product, but perhaps for new projects. ReganWe build for Windows, Linux, FreeBSD, Solaris (SPARC and x86), Mac OS X, .. D's not quite portable enough yet ;)Not even the "GCC for D" project (GDC?) ?
Jun 09 2006
Nice product, easy install, easy setup, and a whole bucket-o-features that don't get in the way if you don't want them. Regan Heath wrote:This is a bit of a plug for the SMTP server I work on, but .. You can download, install and run SurgeMail for FREE for 30 days, or even get a FREE 5 user license :) http://netwinsite.com/surgemail/ If you need any help with the server you can email me at work (the email I use here is my work address). If you need any help with any aspect of POP3, IMAP, or SMTP I can also help, just use the same address. Regan
Jun 12 2006
Thanks :) On Mon, 12 Jun 2006 08:47:26 -0700, BCS <BCS pathlink.com> wrote:Nice product, easy install, easy setup, and a whole bucket-o-features that don't get in the way if you don't want them. Regan Heath wrote:This is a bit of a plug for the SMTP server I work on, but .. You can download, install and run SurgeMail for FREE for 30 days, or even get a FREE 5 user license :) http://netwinsite.com/surgemail/ If you need any help with the server you can email me at work (the email I use here is my work address). If you need any help with any aspect of POP3, IMAP, or SMTP I can also help, just use the same address. Regan
Jun 12 2006
If anyone has any suggestions as to a free server program that I could use (Linux or win) I would like that. I think I have sendmail up and running on the Linux box but it seems to be a bit flakey (most likely because I don't know how to make it work right).Have heard good things about Apache James http://james.apache.org/ marcio
Jun 08 2006
Sure. First, I recommend Exim, if you're on Linux or similar. Otherwise, I'll have to suggest something like Argosoft or IMail, but I don't really like either of those. Windows SMTP servers aren't so good in my experience. Maybe I should fix that, but I don't have time at the moment. http://www.unknownbrackets.com/examples/d/smtp.zip This is just really trimmed down code from my use of it, and I didn't spend much time on it. There are comments, but if you have any questions or if anything doesn't make sense, let me know. It's not in a class, because I was too lazy to slop all the functions (which are much more separate in my use of them) into a class, but I can do that if it makes it more understandable. It also isn't really written for sending emails to multiple recipients in one round. It would only take minor changes for this, though (just RCPT TO, really.) As it would happen, I'm using this for a daemon that runs on a server, checks various services on the server, diskspace, the like, and sends off various emails if anything is a rye. Similar to your plan, somewhat. -[Unknown]I was hoping to go the SMTP route. I have tried it with telnet (successfully) and tried to write a function to do it (with a little less success). I'm a bit hampered by not having a known good SMTP server accessible. If you would be interested in sharing your code I would really appreciate that. What I'm looking at doing is a lib for a sort of automatic assert failure reporter that would e-mail in a stack-trace and other misc state when an assert trips.
Jun 02 2006
Unknown W. Brackets wrote:Sure. First, I recommend Exim, if you're on Linux or similar. Otherwise, I'll have to suggest something like Argosoft or IMail, but I don't really like either of those. Windows SMTP servers aren't so good in my experience. Maybe I should fix that, but I don't have time at the moment. http://www.unknownbrackets.com/examples/d/smtp.zip This is just really trimmed down code from my use of it, and I didn't spend much time on it. There are comments, but if you have any questions or if anything doesn't make sense, let me know. It's not in a class, because I was too lazy to slop all the functions (which are much more separate in my use of them) into a class, but I can do that if it makes it more understandable. It also isn't really written for sending emails to multiple recipients in one round. It would only take minor changes for this, though (just RCPT TO, really.) As it would happen, I'm using this for a daemon that runs on a server, checks various services on the server, diskspace, the like, and sends off various emails if anything is a rye. Similar to your plan, somewhat. -[Unknown]Nice! So, is there an SMTP client available also? And how about a POP3 client? Thanks;
Jun 02 2006
I haven't written an SMTP server in D. This is just an SMTP client. A POP3 client would be reasonably trivial. The more difficult one is IMAP. FTP is similarly trivial. SMTP is definitely the easiest, though. Easier than HTTP, imho. -[Unknown]Unknown W. Brackets wrote:Sure. First, I recommend Exim, if you're on Linux or similar. Otherwise, I'll have to suggest something like Argosoft or IMail, but I don't really like either of those. Windows SMTP servers aren't so good in my experience. Maybe I should fix that, but I don't have time at the moment. http://www.unknownbrackets.com/examples/d/smtp.zip This is just really trimmed down code from my use of it, and I didn't spend much time on it. There are comments, but if you have any questions or if anything doesn't make sense, let me know. It's not in a class, because I was too lazy to slop all the functions (which are much more separate in my use of them) into a class, but I can do that if it makes it more understandable. It also isn't really written for sending emails to multiple recipients in one round. It would only take minor changes for this, though (just RCPT TO, really.) As it would happen, I'm using this for a daemon that runs on a server, checks various services on the server, diskspace, the like, and sends off various emails if anything is a rye. Similar to your plan, somewhat. -[Unknown]Nice! So, is there an SMTP client available also? And how about a POP3 client? Thanks;
Jun 02 2006
Sorry, I think I misread your message. I thought you meant a known good server software. You can always use any single SMTP server you set up on a box to send off emails, as long as the host is accessible. You'll have to provide a username and password if you want it to relay the message, though, to someone else. -[Unknown]I was hoping to go the SMTP route. I have tried it with telnet (successfully) and tried to write a function to do it (with a little less success). I'm a bit hampered by not having a known good SMTP server accessible. If you would be interested in sharing your code I would really appreciate that. What I'm looking at doing is a lib for a sort of automatic assert failure reporter that would e-mail in a stack-trace and other misc state when an assert trips.
Jun 02 2006