Loading ...
Sorry, an error occurred while loading the content.

Re: [bang-phpug] image is not diplaying in email id

Expand Messages
  • Shoan Motwani
    Hi, ... [Snip...] ... Instead of messing around with the headers, I would strongly recommend use of a framework like swiftmail[1] [1] http://swiftmailer.org/
    Message 1 of 4 , Nov 3, 2010
    • 0 Attachment
      Hi,

      On 03-Nov-2010, at 3:02 PM, Amardeep wrote:

      > try setting the headers as mentioned in the PHP manual . you can take a look
      > at the following code
      >
      > // To send HTML mail, the Content-type header must be set
      > $headers = 'MIME-Version: 1.0' . "\r\n";
      >

      [Snip...]

      >
      > One of the reason could be you are tried to send a HTML mail instead of
      > plain/simple text, so need to set the proper content type.
      > Hope this helps ..
      >

      Instead of messing around with the headers, I would strongly recommend use of a framework like swiftmail[1]

      [1] http://swiftmailer.org/

      Peace,
      Shoan.
    Your message has been successfully submitted and would be delivered to recipients shortly.