[DUG] idSMTP and Html hex codes
Soumini Varma
soumini at cfl.co.nz
Tue Apr 27 09:04:00 NZST 2010
Thanks Jan. I found a solution within the Indy components. Indy has a component idUri that can convert these html “hex” coded urls back to normal url. I use it to convert the path and then the emails are sent without a problem.
Soumini Varma
Computer Applications Developer
Computer Fanatics Limited
Tel
Fax
Email
Web+64 9 4892280
+64 9 4892290
soumini at cfl.co.nz
www.cfl.co.nz
This email and any attachments contain information, which is confidential and may be subject to legal privilege and copyright. If you are not the intended recipient, you must not use, distribute or copy this email or attachments. If you have received this in error, please notify us immediately by return email and then delete this email and any attachments.
From: Jan Bakuwel [mailto:jan.bakuwel at omiha.com]
Sent: Tuesday, 13 April 2010 04:20 p.m.
To: soumini at cfl.co.nz; NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] idSMTP and Html hex codes
Hi Soumini,
I wouldn't know out of the top of my head but since you've got the Indy source, why don't you step into it with the debugger?
Jan
Soumini Varma wrote:
Hi,
I am sending Html emails with inline images using the idsmtp component (Version 10). The Html editor that I use saves the source file name of these inline images with html hex codes if there are any spaces or special characters in the file name. For e.g. "File #3.jpeg" is saved as "File %20%233.jpeg" (%20 for space and %23 for #). Indy hangs when trying to send such emails.
I have no problems sending emails if the inline image source does not contain any spaces or special characters in its file name or if the spaces and special characters are saved as is. However I am unable to make the component save the spaces etc as is.
Any help is appreciated.
Thanks
Soumini
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
__________ Information from ESET NOD32 Antivirus, version of virus signature database 5023 (20100412) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20100427/b4e78526/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2552 bytes
Desc: not available
Url : http://listserver.123.net.nz/pipermail/delphi/attachments/20100427/b4e78526/attachment-0003.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 2460 bytes
Desc: not available
Url : http://listserver.123.net.nz/pipermail/delphi/attachments/20100427/b4e78526/attachment-0004.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.gif
Type: image/gif
Size: 2604 bytes
Desc: not available
Url : http://listserver.123.net.nz/pipermail/delphi/attachments/20100427/b4e78526/attachment-0005.gif
More information about the Delphi
mailing list