Beiträge von itproz

    Hi,

    I have an application which is being run on a Terminal Server and using WPSpell. However, unless they are Administrators it does not work. I have given them read/write access to the program files directory and it still does not work.

    Any ideas??

    Thanks
    Rudy

    Hi Julian,

    Thanks for the email, if you believe the issue is outside the HTML body, do you know what it could be. Have you experienced this issue before
    when sending your HTML to Outlook.

    I did find that if i used the Full Path of the image that it should up in Outlook OK i.e. the source was C:\Test1.JPG not Test1.JPG, however if emailed the images obviously would not show.

    Any help would be appreciated.

    Thanks
    Rudy

    I upgraded to WP6 but nothing change with the output. And i do not know what Synapse is.

    Thanks

    Hi,

    I have a RFT file which contains images. I am trying to attach it to an Email and am using the following method

    procedure TEmailSenderForm.wpBodyPrepareImageforSaving(
    RTFData: TWPRTFDataCollection; Writer: TWPCustomTextWriter;
    TextObject: TWPTextObj; var DontSave: Boolean);
    var
    AGUID : String;
    begin
    // We clear Source and StreamName to make sure the embedded data is saved to file
    TextObject.Source := '';
    if TextObject.ObjRef<>nil then
    begin
    if FWritingHTML then
    begin
    try
    AGUID := TKey.GUID();
    TextObject.ObjRef.StreamName := '';
    TextObject.ObjRef.FileName := ExtractFileName(TextObject.ObjRef.SaveToFile(Global_SystemConfig.PROP_TEMPFILEPATH, AGUID, ''));
    //TextObject.ObjRef.FileName := TextObject.ObjRef.SaveToFile(Global_SystemConfig.PROP_TEMPFILEPATH, AGUID, '');
    FMyMail.Attachments.Add(Global_SystemConfig.PROP_TEMPFILEPATH + '\' + TextObject.ObjRef.FileName);
    ShowMessage(TextObject.ObjRef.FileName);
    Application.ProcessMessages;
    except
    on E: Exception do
    begin
    ShowMessage(E.Message);
    end;
    end;
    end;
    end;
    end;

    However, the images are not being displayed in Outlook and the recipient cannot see the images either.

    The HTML is below

    <html>
    <head></head><body>
    <table style="padding:0px;margin:0px;width:8.48in;"><tr valign=top style="padding-left:0.01in;padding-right:0.01in;"><td style="text-indent:0.00in;margin-left:0.00in;margin-right:0.00in;border-left-style:solid;border-left-width:1px;border-left-color:black;border-top-style:solid;border-top-width:1px;border-top-color:black;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:black;width:2.01in;"><img src="FC36B6F7-7143-432C-BA73-A9D6A4A471D1.JPG" style="width:1.93in;height:1.44in;"/></td>
    <td style="border-top-style:solid;border-top-width:1px;border-top-color:black;border-right-style:solid;border-right-width:1px;border-right-color:black;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:black;width:6.47in;"><b><font face="TheSansOffice">2 bedroom(s) Conversion, Test Property 1 £450 &nbsp;</font><font face="TheSansOffice" color="red">&nbsp;</font><div>&nbsp;</b></div>
    <div><font face="TheSansOffice" size=2 color="black">A bright and spacious two double bedroom flat within a private gated mews style development. &nbsp;The property comprises two double bedrooms, open plan living area with fully fitted kitchen and modern bathroom. Available 8 December. Furnished or Unfurnished. A bright and spacious two double bedroom flat within a private gated mews style development. &nbsp;The property comprises two double bedrooms, open plan living area with fully fitted kitchen and modern bathroom. Available 8 December. Furnished or Unfurnished. </font></div>
    </td>
    </tr>
    </table>
    <div>&nbsp;</div>
    <table style="padding:0px;margin:0px;width:8.48in;"><tr valign=top style="padding-left:0.01in;padding-right:0.01in;"><td style="text-indent:0.00in;margin-left:0.00in;margin-right:0.00in;border-left-style:solid;border-left-width:1px;border-left-color:black;border-top-style:solid;border-top-width:1px;border-top-color:black;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:black;width:2.01in;"><img src="328BE11D-E1E0-4AB6-9036-C5CD6D423C7C.JPG" style="width:1.93in;height:1.45in;"/></td>
    <td style="border-top-style:solid;border-top-width:1px;border-top-color:black;border-right-style:solid;border-right-width:1px;border-right-color:black;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:black;width:6.47in;"><b><font face="TheSansOffice">2 bedroom(s) Conversion, Test Property 2 £350 &nbsp;</font><font face="TheSansOffice" color="red">&nbsp;</font><div>&nbsp;</b></div>
    <div><font face="TheSansOffice" size=2 color="black">A &nbsp;newly refurbished and very spacious two double bedroom flat with an extra study area/dressing room, reception room, separate kitchen and bathroom. The first floor flat is located close to Newington Green which has excellent bus routes into Angel and the City. Available 19th November. Furnished or Unfurnished. A &nbsp;newly refurbished and very spacious two double bedroom flat with an extra study area/dressing room, reception room, separate kitchen and bathroom. The first floor flat is located close to Newington Green which has excellent bus routes into Angel and the City. Available 19th November. Furnished or Unfurnished. </font></div>
    </td>
    </tr>
    </table>
    <div>&nbsp;</div>
    <div>Admin</div>
    <div>Sales Negotiator</div>
    <div>&nbsp;</div>
    <div>&nbsp;</div>
    <div>&nbsp;</div>
    <div>This communication is to be treated as confidential and the information in it may not be used or disclosed except for the purpose for which it has been sent. If you have reason to believe that you are not the intended recipient of this communication, please contact the sender immediately.</div>
    </body></html>

    Thanks
    Rudy

    Hi,

    I would like to be able to add a link to an Image so that when clicked it will take to me to a Website. The original Document is in RTF and is being converted to HTML using wpRichText to be sent as an Email.

    So i would like to know how to add links to images.

    Also, how can I add an hyperlink to a MergedField.

    Thanks in advance
    Rudy

    I have built my own report mail merge using MasterClient example. Works great except for when using bullets and numbering.

    This bug can be found in the example too. Run the project - add a few bullets at the end of the letter then go to report tab - the first time it work merging the bullets at the bottom of the report. But when going back to the template tab - then clicking the report tab again the bullets disappears.

    In my own program is doesn't even appear the first time and my code is exactly the same.

    Any assistance would be greatly appreciated.

    Thanks

    D

    Hi,

    I know its something simple, but I've ordered the WPTools FastReports integration. When I open the dpk for Delphi 7 - Fast Reports 4 and try and install (and obviously point the environmental variables) I get the following error:

    [Fatal Error] WPFR4_D7.dpk(34): Required package 'FastRep' not found

    Where is this unit found so I can add it in the ENV Variables...

    Thanks

    Dan