


| category | articles | ||||
AdsenseAdwordsArticleBlogCMSCSS StyleDatacenterDesign GraphicsFlash AnimationInternet RadioMessengerProgrammingProviderSearch EngineSecuritySecurity WebSEFSEOSoftwareSoftware Web |
Sendmail using PHP Sometimes, when we want to send an email from php programing, we find some difficulties. So, i tried to find the best way and easy to learn. Sendmail structures is like below (if you want to send an email like html page): $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: '.$from.' <'.$emailfrom.'>' . "\r\n"; $headers .= 'Cc: '.$emailfrom.''. "\r\n"; mail($to, $subject, $message, $headers); Where $to is the email recipient. $subject is the email subject. $message is the email message $header has define above. For more complex sendmail, you can set an automated email, that will be delivered on one date. OTHER ARTICLES htaccess at WindowsCoreDumpDirectory directiveSnoopFreehtaccess UsefulAbout Pico at LinuxAuthUserFile directiveAddModule directive for ApacheAllowOverride directive for ApachePassing value from child window to parentPHP feof() Function |
||||
| © 2001 - 2012 Tatamedia Solusindo | Link Partner: akomodasi.net, indoproduk.com, satria.com, idee-online.net, gptkk.org, maniak belanja, hotels68 | |||||