Mass Email PHP Include

Discussion in 'HTML & Website Design' started by brandondrury, Nov 26, 2005.

  1. #1
    Hello,

    I'm attempting to include a .php page in a mass email. It appears that php includes do not work in email format. I've also tried SSI (server side includes) and iframes. I can't get any of them to show up when I send the email myself. Are there any ways to use includes and ensure that they show up when sending a mass email?

    I'll explain what I'm doing. I'm using a RSS Parser called RSS2HTML. I've included my own RSS feeds off my SMF forum as well as Article Live article software throughout the standard html part of my website using the php include. This has worked out perfectly for me so far.

    Now I'm trying to figure out how to do this on email. I'd prefer for the email to be up to date whenever they check it, even if it's in 3 or 4 days. The main reason that I want to use the include is to ensure that I don't have to go through some long updating process every time I want to send out a mass email. It would be nice to have the latest articles and latest forum topics all displayed automatically.

    Any ideas?

    Brandon Drury
     
    brandondrury, Nov 26, 2005 IP
  2. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I really don't believe so.....some email clients don't even have html on.
     
    Dekker, Nov 26, 2005 IP
  3. brandondrury

    brandondrury Peon

    Messages:
    375
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Good point. However, I think the users of my forum would be the type to enable html emails.

    I may have to figure out another way.

    Brandon
     
    brandondrury, Nov 26, 2005 IP
  4. dave487

    dave487 Peon

    Messages:
    701
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You could make the entire email an IFRAME and then it will always show the latest information.

    A lot of anti virus tools will not allow IFRAME's in emails though so I would not recommend it.
     
    dave487, Nov 26, 2005 IP
  5. brandondrury

    brandondrury Peon

    Messages:
    375
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm going to play around with this a little more and see what happens.

    Brandon
     
    brandondrury, Nov 26, 2005 IP