Code archives/Networking/Please delete me

This code has been declared by its author to be Public Domain code.

Download source code

Please delete me by Yan2005
...
...

Comments

Yan2005
Here's a small example...



Tom2005
Nice work Ian, works a treat with authentication.

Thanks
Tom


jd2692005
Pretty good code. Just wondering, how do you get it to work with image tags when the images are not hosted in your local directory?


octothorpe2005
how do you get it to work with image tags when the images are not hosted in your local directory?


Before creating a new html_image in process_html$(), check to make sure the image file can be found in the local directory. If not, do nothing: assume it's on the web and leave the image tag to the external image.


Yan2005
What Octothorpe said! ;o)

Or...

If you don't want to embed *any* images, then simply don't call process_html()...

(I probably should have given that function a more descriptive name)



@Tom - I'm glad you found a use for it. :o)


RGR2006
Melvin that's super useful for me .. Thank you very much.

I found a little error: In line 72 of the lib the var must be mailserver not maileserver ... only noticable if port is not 25 ;-)


Yan2006
Oops...Fixed

Cheers RaGR!


Pineapple2006
Great Stuff... Works like a charm! :)

Dabz


Ian Thompson2006
Hi Ian, can you recommend any documents to better understand your code?


Yan2006
I get all my information from 'The Junior Encyclopaedia of Space'.

Okay...I don't... ;o)

I used the SMTP/ESMTP, BASE64, SASL and MIME RFCs to write that code. I can't remember their numbers I'm afraid but a google should pop em up. The RFCs, although a bit wordy, are an excellent reference for anything intaweb related.


@Dabz - Glad you found it useful. :o)


Ian Thompson2006
Thank you, very helpfull. :)


Code Archives Forum