This extensions converts the selected HTML files accordings to the settings of the following dialog:
Encoding of the raw text data can be done in base-64 format (or in plain HTML format otherwise).
In case the email client is not able or (by intention) switched off for displaying HTML emails, you might add an alternate text, which is hidden from HTML part.
For the collected data to be sent later, a folder for each HTML file is always created. The foldername is built up according to a simple rule, which respects the source‘s filename and appends a suffix you can specify in the first input field.
An example: if the selected filename is called "test.html" and you specify "_dir" as the suffix, a folder called "test_dir" will be created with a copy of the HTML file and every referenced image in it. The content of this folder is copied onto the server, defined in the current site.
For the emails linking to the server side images, the web domain name must be know.
In order to send approriate header information refering to the encoded data of the previous file, these can be written into the optional header file. The same filenaming conventions as above are applied.
For PHP coders, another convenient option is to let the extension generate a PHP script, which contains simple commands to send this email from a PHP enabled server you have access to. In this case you can create the PHP script with the appropriate fields filled. Remember that recipient and subject has to be entered whereas sender is optional. The hard-coded suffix applied to the filenameing rule for this file is "_mail.php".
Furthermore in case you want to send the email too, you should provide the appropriate information into the recipient, subject line and sender field below.
After specifying all information, click Convert or Convert & Send, a progress bar is shown and the site view is refreshed at the end of this process. Depending what you have selected, additional files are created which you can see in the files tab of your site window. These files are ASCII encoded and are the basis for optional the further processing steps.
|