1. sayfa
<?php $mbox = imap_open($hostname,$username,$password) or die('Cannot connect to Gmail: ' . imap_last_error()); $message=imap_fetchbody($mbox, 4,3); $decoded_data = base64_decode($message); file_put_contents('image002.jpg',$decoded_data); ?> <img src="image002.jpg">
gmail üzerinden gelen kutusunu php ile çağırdığımda sadece yazılar gözüküyor mail içerisinde olan resimler gözükmüyor bunu nasıl halledebilirim ?