This code has been declared by its author to be Public Domain code.
Download source code | Please delete me by Yan | 2005 |
| |
|
... |
... |
Comments |
Here's a small example...
|
|
Nice work Ian, works a treat with authentication.
Thanks Tom
|
|
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?
|
|
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.
|
|
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)
|
|
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 ;-)
|
|
Great Stuff... Works like a charm! :)
Dabz
|
|
Hi Ian, can you recommend any documents to better understand your code?
|
|
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)
|
|
Thank you, very helpfull. :)
|
Code Archives Forum