Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Reprise of Question About SENDHTML's /Image Option

Jun
564
4
The question about what the /image option of the SENDHTML command does and/or how it is supposed to be used was never answered. It does not seem to do anything, and, contrary to the help, more than one such option generates an error message.
 
The SENDHTML command solves the problem with low-quality photos, but does not solve the problem if the photo is enlarged and the quality has deteriorated. It is with this problem that the Depositphotos service will help you, which enlarges photos without changing the quality.
 
Last edited:
This command SENDHTML is not relevant!
I'm not sure what you mean. I use that command in my MailMerge script. I would like to be able to embed images in the HTML and thought that the "/image" option would do that, but I could never figure out how it was supposed to work. I get around it by posting images to my web server and using an "<a href>" tag to reference it. I'd prefer (at least in some cases) to embed the encoded image in the message.
 
Sorry, what I wrote last night was (1) not clear and (2) wrong. What I meant to write was that to include images in HTML messages sent by SENDHTML, I would put or find the image on a web server and reference it in the message using its URL as

<img src="http...">

What I often wanted to do was to encode the image in the message itself and reference it as a file, using

<img src="filename">

That's what I thought that the /image option for the SENDHTML command would implement. Way back earlier in the year, I think I figure out some details of this issue, but I don't remember them now.
 
I just did some additional testing with the current version of TCC 30 (30.00.22). The option does now work as expected. For each file to embed, one includes an option of the form

/image="[path\]filename"

The file can then be referenced in the HTML message text, even multiple times, using

<img src="filename">

The /image="" option can be used multiple times to embed multiple files. The option uses the full path to the file, which the "src" specification in the "img" tag uses only the name of the file without the path.

I'm pretty sure that this was not working when I tested it earlier. I am very happy to see that it works now.
 
The question about what the /image option of the SENDHTML command does and/or how it is supposed to be used was never answered. It does not seem to do anything, and, contrary to the help, more than one such option generates an error message.
maybe try base64 encoding your images
 
and this brngs up a good question - or at least to me LOL. What is you wanted to reference /image="[path1\]filename" and /image="[path2\]filename" where filename is the same in both cases?
 
Back
Top
[FOX] Ultimate Translator
Translate