Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Mar 2006
    Posts
    200
    Thanks
    27
    Thanked 2 Times in 2 Posts

    creating html pages

    Hello,

    I would like to allow my client to send out newsletters through a website. I have the code itself working (in php), so I can send a HTML page through the site.

    The idea is that a non web designer is to create HTML newsletter to send to customers. Originally I thought it would be possible to use MS Word, and simply save a Word document as a HTML file (it's an option when you save in Word.) However, although this seems to handle text fine, images simply show up as empty boxes.

    Is there any way to get round this that anyone can think of? Any simple way someone with no HTML programming experience to create HTML pages?

    Am I right in assuming that the newsletter has to be in HTML if it is to be sent as an email i.e not as an attached file, but come out like some of the mailshots you recieve from Amazon for example, although not as complex!

    Thanks for your help,

    Nicky

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Well the images can't be embedded into an html document. What you'll have to do is have the images hosted some place, like on the site and then the images in email point to the images on the site so they can be downloaded.
    OracleGuy

  • #3
    Regular Coder
    Join Date
    Mar 2006
    Posts
    200
    Thanks
    27
    Thanked 2 Times in 2 Posts
    Any idea how I'd get that in a Word Document?

    Thanks,

    Nicky

  • #4
    New Coder
    Join Date
    May 2005
    Posts
    78
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Well, here is an idea (could be entirely off, I know nothing about PHP). When you put a picture into Microsoft Word, and then save it as an HTML file, it creates another folder with those pictures, and links to them on the .html file. So, you could have the users upload the pictures after including them in the Word .html file, and save those pictures to a "pictures" folder inside the folder that you have the .html file in. So:

    /upload/
    wordsite.html
    /pictures/
    picture1.jpg
    picture2.jpg

    Don't count on that, though.

  • #5
    Regular Coder
    Join Date
    Mar 2006
    Posts
    200
    Thanks
    27
    Thanked 2 Times in 2 Posts
    Hmm...will have a go at that...

    Thanks! x


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •