Dear Friends!
i send image using email function and it cant show on the receiver side?? i used html script inside the massage body to send images. whats the solution?
zulfistyle 0 Newbie Poster
Recommended Answers
Jump to PostIf you can't send a picture inside the message as html.
You can only send it's URL
make sure the recverer does't get something like c:\local_user\my pictures\foto.jpg
Jump to PostMake sure that the fotolink points to the web and not to a local file
$fotolink="http://www.mysite.com/imagedir/foto.jpg"; $uid = md5(uniqid(time())); // headers $emailHeaders="From: me@me.com \r\n"; $emailHeaders.="Reply-To: me@me.com\r\n"; $emailHeaders.= "MIME-Version: 1.0\r\n"; $emailHeaders.= "Content-Type: multipart/alternative; boundary=\"".$uid."\";\r\n\r\n"; $EmailHeaders.= "\nMIME-Version: 1.0\n Content-Type: multipart/mixed;\n boundary=\"".$uid."\""; // message $emailMessage= "--".$uid."\r\n"; $emailMessage.= …
All 6 Replies
karthik_ppts 81 Posting Pro
zulfistyle 0 Newbie Poster
pzuurveen 90 Posting Whiz in Training
zulfistyle 0 Newbie Poster
zulfistyle 0 Newbie Poster
pzuurveen 90 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.