Re: [bang-phpug] image is not diplaying in email id
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";
> 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