SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast
    Join Date
    Dec 2005
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    php email problem

    hello. i have a php cron job that sends out an email to a database of people. the email looks and formats fine, but when I forward the email all of the style coding shows up since it is styled in the body rather than in the heading (this was suggested). Is there any way around this? Thanks

  2. #2
    SitePoint Guru
    Join Date
    Jan 2005
    Location
    heaven
    Posts
    953
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you post the emailing routine?
    Creativity knows no other restraint than the
    confines of a small mind.
    - Me
    Geekly Humor
    Oh baby! Check out the design patterns on that framework!

  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 2005
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Would you like for me to post the code? If so , i need to know how to use the box for code so I don't get in trouble.

    Basically I have a php file (which I didn't design) that is called up each day with a cron job and sends email to a database of people. I am in the process of changing the format though, and I am basing it off of a template that i downloaded. basically i copied and pasted the template into my php file. it looks great when i receive the email in my email program, but if i forward it to someone, it loses all images and formatting, and puts the style coding above the message.

    thanks!

  4. #4
    SitePoint Addict
    Join Date
    Jul 2008
    Location
    sudo rm -rf /
    Posts
    386
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try phpmailer: www.google.com/search?q=php+mailer class

  5. #5
    SitePoint Enthusiast
    Join Date
    Dec 2005
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have never used this kind of software. Is this basically for creating the emails for me?


Bookmarks

Posting Permissions

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