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
    New Coder
    Join Date
    Feb 2009
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question PHPMailer CSS problem

    Hi,
    I have got a peculiar problem occurring when I am sending a html mail along with css embedded in the text of the mail. In CSS i have added a background image which is not showing in the email body although other css attributes like width,height are working fine. Also when I am sending the email with image directly embedded in the body,that is showing fine. Anyone has any idea? Thanks in advance.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,854
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Are you using the absolute path to your image in your background-image property (inside url() )?
    Code:
    background-image:url(http://yoursite.com/images/your-image.gif)
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Feb 2009
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thank for your comment.
    Yes,I'm using absolute path in the url of background image.

  • #4
    New Coder
    Join Date
    Feb 2009
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    problem solved..Thanks abduraooft..

  • #5
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,854
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Quote Originally Posted by achcore View Post
    problem solved..Thanks abduraooft..
    Please post your solution, as it may benefit others when they face similar issues.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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