Send mime mail class-instance. If not included: $ mailnewhtml_mime_mail (); $ htmlHTML content; $ mail-add_html ($ html, $ text); $ mail-build_message (); $ mail-send (recipient, Email, sender, Email. if it is not included, Mark: $ mail = new html_mime_mail (); $ html = "HTML content"; $ mail-> add_html ($ html, $ text); $ mail-> build_message (); $ mail-> send (recipient, Email, Sender, Email, subject, external Header ); -------------------------------------------------------------------------------- if the url contains "url =" www.cuti.com. my/AD/"; // There is no http at the beginning of the zookeeper address: // There is a diagonal link at the end of the header $ path ="/MAIL/AD /"; // the end of the zookeeper router interface is oblique. $ filename1 = a.jpg; $ backgrnd1 = fread ($ fp = fopen ($ path. $ filename1, r), filesize ($ path. $ filename1); fclose ($ fp );... so on... $ filename6 = f.gif; $ backgrnd6 = fread ($ fp = fopen ($ path. $ filename6, r), filesize ($ path. $ filename6); fclose ($ fp); $ mail-> add_html_image ($ backgrnd1, $ filename1, image/jpeg, http ://. $ url. $ filename1 );... so on... $ mail-> add_html_image ($ backgrnd6, $ filename6, image/gif, http ://. $ url. $ filename6); $ mail = new html_mime_mail (); $ html = "HTML content inclusion"; $ mail-> add_html ($ html, $ text ); $ mail-> build_message (); $ mail-> send (recipient, Email, Sender, Email, subject, external Header );
Response $ mail = new html_mime_mail (); $ html = HTML content; $ mail-> add_html ($ html, $ text); $ mail-> build_message (); $ mail-> send (recipient, recipient Email, Sender, sender Email, tag...