Iknow that if i want to send an email in html coding i can set headers in mail function like this
mail($mailto,$subject,$htmltext,"From:me\n Content-Type:text\html");
but how it works if i have in my $htmltext
<img src="relative path">
how can i send the attachment automatically?
Thanks.