Emails scripted with no pictures

5 pts.
Tags:
Email
Hotmail
My emails are scripted with no pictures? How did that happen?
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen
    What mail client are you using now. Probably you asked for php mail function related issue (just guessing). However, more details are required.
    140,720 pointsBadges:
    report
  • ToddN2000
    We need more details. Are the inbound or outbound messages? What format is the e-mail set for? RTF, text only, HTML?
    134,445 pointsBadges:
    report
  • Elizine

    What you might do is to send the mail not as "text/plain", but as "text/html". You e-mail content is then basically a static webpage and you can insert images to.

    Example Code for Mail with HTML Content

    $to = 'to@someone.com';
    $subject = 'The Subject';
    
    $headers = "From: " . strip_tags($_POST['req-email']) . "\r\n";
    $headers .= "Reply-To: ". strip_tags($_POST['req-email']) . "\r\n";
    $headers .= "CC: other@someone.com\r\n";
    $headers .= "MIME-Version: 1.0\r\n";
    // this is the important header to set the type
    $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
    
    // now $message can be a static html page like:
    $message = '<html><body>';
    $message .= '<h1>Hello, World!</h1>';
    $message .= '</body></html>';
    
    // with image embedded
    $message = '<html><body>';
    $message .= '<h1>Hello, World!</h1>';
    $message .= '<img src="http://i.stack.imgur.com/Qmw3Z.jpg?s=32&g=1" alt="AVTR" />';
    $message .= '</body></html>';
    1,145 pointsBadges:
    report
  • Harisheldon
    They is also a very good possibility that the Group Policy (GPO) has been changed so that pictures are no longer visible in email, only as attachments.  This is done due to something called stenography, where a virus can be hidden inside a picture.  So when you open your email to view the picture, the virus begins before your virus program can catch it.
    12,915 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: