Bulk Emailer removes host in path - sometimes

Last post 03-07-2005 9:13 PM by awhite. 7 replies.

Sort Posts:

  • Bulk Emailer removes host in path - sometimes

    11-10-2004, 9:01 AM
    • Member
      30 point Member
    • TwoShu
    • Member since 07-02-2002, 5:47 PM
    • Posts 6
    Hi,

    When I paste an HTML email message into the Bulk Email Editor and send the message, the full paths that have been included are converted into local paths. As a result an image with a src=http://www.mydomain.com/images/myimage.gif turns into src=/images/myimage and when the recipient reads the message the image is broken.

    I know the free text box is a little goofy and I tried every combination of switching between design and HTML etc. I even discovered the RemoveServerNameFromUrls="False" tag and added it to the bulk email page. I discovered that messages regarding the FTBProvider not getting compiled in the DNN Release, and I recompiled it. Still converting paths to local.

    Then I discovered the really interesting part.

    I have more than one DNN site (separate servers at webhost4life). The Bulk EMailer works correctly on one and incorrectly on the other. All of the dlls in Bin are exactly the same size. I replaced all of the associated files on the busted site with files from the one that works, just to be sure. No change.

    Am I missing a database setting? Could the operating systems be slightly different in a way that would cause this? Has anyone else been unable to get the FTBeditor to leave paths alone?
  • Re: Bulk Emailer removes host in path - sometimes

    11-11-2004, 8:21 PM
    • Member
      105 point Member
    • iammeiam
    • Member since 11-01-2002, 9:36 PM
    • MA
    • Posts 21
    I just ran into the exact same issue today. I have used the Bulk Mailer in the past and it had links in it that were not an issue... Interestingly, though, I just changed to a new hosting company and this was the first bulk email that I sent out. It did the exact same thing you are describing - converted the path to a relative path. Maybe it's the hosting company? When I was hosted with webhost4life it was fine... Anyone have similar issues?
  • Re: Bulk Emailer removes host in path - sometimes

    12-02-2004, 10:07 PM
    • Participant
      1,138 point Participant
    • photo_tom
    • Member since 07-18-2003, 3:52 PM
    • Southern Wisconsin
    • Posts 242
    Just ran into same problem on site hosted by WH4L also.

    Anyone have any ideas, I need to send out a sales filer as a GIF and my path keeps getting stripped if I e-mail from the RTB editor. If send html in basic box, just get message?
  • Re: Bulk Emailer removes host in path - sometimes

    12-02-2004, 11:31 PM
    • Star
      9,364 point Star
    • xddg
    • Member since 12-10-2002, 3:09 PM
    • Melbourne
    • Posts 1,874
    • TrustedFriends-MVPs
    I believe it's a 2.1.2 Bug - there is somthing that has to be changed in the editor and recompiled..

    I had someone do that for me, so I have the correct dll which send bulk mail with images and links correctly attached.

    Nina
    Nina Meiers


    Free Skins & Containers by Nina Meies
  • Re: Bulk Emailer removes host in path - sometimes

    01-04-2005, 11:37 PM
    • Member
      665 point Member
    • jepper
    • Member since 03-18-2004, 9:29 PM
    • United States WV
    • Posts 133
    This seems to still be a problem with 3.0.8 version. Just wonder if it will be fixed by the final version. Nina could you share the patch with the rest of us.

    Thanks
    James
  • Re: Bulk Emailer removes host in path - sometimes

    01-05-2005, 7:49 AM
    • Star
      9,364 point Star
    • xddg
    • Member since 12-10-2002, 3:09 PM
    • Melbourne
    • Posts 1,874
    • TrustedFriends-MVPs
    James I have to step back and recheck that the cute editor i have installed wasn't partially the fix.

    Eg.. i have cute editor replacing ftb, and it's done as a core change (web.config mod) and it appears in the bulk mailer.

    And also what I have is not for 3.08 - it's for 2

    I will give you feedback when i have check i morning.

    Nina Meiers
    Nina Meiers


    Free Skins & Containers by Nina Meies
  • Re: Bulk Emailer removes host in path - sometimes

    01-05-2005, 9:15 AM
    • Member
      35 point Member
    • edobrzel2
    • Member since 06-17-2004, 12:02 PM
    • East Lansing, MI
    • Posts 7
    I ran into this a few weeks ago. I think it is because FTB (and many editors) have a "RemoveServerNameFromUrls" property (or equivalent). The "HtmlEditorProvider" interface does not expose that property. So if the editor is set for the property to be True, you can run into problems.

    I didn't find an easy work-around without making changes to the core. I didn't want to turn off that property by default because I *do* want the normal Text/HTML module to strip off the server name.
  • Re: Bulk Emailer removes host in path - sometimes

    03-07-2005, 9:08 PM
    • Member
      15 point Member
    • awhite
    • Member since 01-12-2004, 3:05 PM
    • Posts 3
    Hi,

    The code you have to change is in the \Providers\HtmlEditorProviders\FtbHtmlEditorProvider directory for 2.1.2.

    To be able to edit the code you need to open the Provider.FtbHtmlEditorProvider.vbproj file in the directory in Visual Studio and then open the FTBHtmlEditorProvider.vb file.

    Under 'initialize the control - paste the following code:

    cntlFtb2.RemoveServerNameFromUrls = False

    Then rebuild the solution.

    adam
Page 1 of 1 (8 items)