Discussion:
SMTP questions
(too old to reply)
Robert Wolfe
2009-02-22 20:23:00 UTC
Permalink
r >Good afternoon all.

r >I am working on a custom SMTP mailer for a much bigger project that I a
r >working on in PB/CC. My problem is that the SMTP transfer goes ok, but
r >the resulting email that gets sent gets sent with the body of the
r >message between the X-Header information (if any) and the date
r >information. I am using the code sample for SMTP from the PB/CC help.

Problem solved :)

---
* PW * Honesty is the best policy, but insanity is a better defe
Robert Wolfe
2009-02-22 20:24:00 UTC
Permalink
I've actually thought about writing a news client at some point. The
issue I have is figuring out how to get it to store the messages in o
message per file format.
mm>You actually WANT to store newgroup messages one per physical file?

mm>As my late sainted mother often said, "Be careful what you wish for!"

At least to start with. Just so I can get the hang of it. I've already written
a utility that will do this with POP3 email :)


---
* PW * However subtle the wizard, a knife in the back will cramp
Robert Wolfe
2009-02-22 20:24:00 UTC
Permalink
b

---
* PW * . Gone crazy, be back later, please leave message.
Robert Wolfe
2009-02-22 20:25:00 UTC
Permalink
The only change I made to the sample code was the change I made to ge
the program to work like I wanted it to. Had the program add a CHR$(
to the end of each message body line it sent and things started worki
like I wanted them to.
no>So... is it working now?

Perfectly, actually :)
I've actually thought about writing a news client at some point. The
issue I have is figuring out how to get it to store the messages in o
message per file format.
no>That should be easy. You have to get each message individually anyway,
no>it's just a matter of writing the message to an appropriately-named fil
no>(I'd make sure to not do this on FAT or FAT32, though -- there could be
no>of wasted space on small posts.)

Yeah, I figured that. Have not started on this particular project yet.

---
* PW * After things go from bad to worse the cycle repeats.
unknown
2009-02-23 21:59:30 UTC
Permalink
Post by Robert Wolfe
r >Good afternoon all.
r >I am working on a custom SMTP mailer for a much bigger project that I a
r >working on in PB/CC. My problem is that the SMTP transfer goes ok, but
r >the resulting email that gets sent gets sent with the body of the
r >message between the X-Header information (if any) and the date
r >information. I am using the code sample for SMTP from the PB/CC help.
Problem solved :)
Does anyone know of any NNTP sample code? NNTP and SMTP are
close enough that I can adapt the SMTP code, but perhaps someone
has already done this.
--
Guy Macon
<http://www.GuyMacon.com/>
Thomas Gohel
2009-02-24 14:53:00 UTC
Permalink
On 23 Feb 09, Guy Macon wrote:

Hello Guy,
Post by unknown
Does anyone know of any NNTP sample code? NNTP and SMTP are
close enough that I can adapt the SMTP code, but perhaps someone
has already done this.
See in the header of this posting ... ;-)

Regards,

--------------
/ h o m a s
--
email : ***@gohel.de / ***@basicguru.de (PGP-Key available)
www : http://www.gohel.de / http://www.pbhq.com (PowerBASIC)
Continue reading on narkive:
Loading...