Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,025

HOME > PHP > PHP Sending Mail > PHP Mail Class (MIMEMAIL V 1.5)



Clound SSD Virtual Server

PHP Mail Class (MIMEMAIL V 1.5)

PHP Mail Class (MIMEMAIL V 1.5) เป็น PHP Class ที่ใช้สำหรับการส่งอีเมล์ซึ่งเขียนไว้ได้ดีมาก ๆ ครับ ใช้งานง่ายสามารถแนบไฟล์ Attach Files ได้อย่างง่ายดายครับ

IIS SMTP Virtual Server


Download MIMEMAIL V 1.5



Syntax

<?php
	require_once("mimemail.inc.php");

	$mail = new MIMEMAIL("HTML"); // HTML Format

	$mail->senderName = "sender name";
	$mail->senderMail = "sender@email";
	$mail->cc = "cc@email";
	$mail->bcc = "bcc@email";

	$mail->subject = "This is the subject line";

	$mail->body = "Hello! This is a message for you."; // OR: $mail->body = "path_to_file/filename";

	$mail->attachment[] = "path_to_file1/filename1";
	$mail->attachment[] = "path_to_file2/filename2";

	$mail->create();

	$mail->send("recipient1@email");
	$mail->send("recipient2@email,recipient3@email,recipient4@email");
?>



phpSendEmailMimeMail.php

<html>
<head>
<title>ThaiCreate.Com PHP Sending Email</title>
</head>
<body>
<?php

	require_once("mimemail.inc.php");

	$mail = new MIMEMAIL("HTML"); // HTML Format

	$mail->senderName = "Mr.Weerachai Nukitram";
	$mail->senderMail = "[email protected]";
	$mail->cc = "Mr.Surachai Sirisart<[email protected]>";
	$mail->bcc = "[email protected]";

	$mail->subject = "Test Send Mail";

	$mail->body = "My Body & <b>My Description</b>"; // OR: $mail->body = "path_to_file/filename";

	$mail->attachment[] = "thaicreate1.txt";
	$mail->attachment[] = "thaicreate2.txt";

	$mail->create();
	//*** To ***//
	$mail->send("[email protected]");
	$mail->send("[email protected],[email protected],[email protected]");
	echo "Email Sending.";
?>
</body>
</html>




Screenshot

PHP Send Email

PHP Send Email








ใช้งานจริงกับ Hotmail.Com

PHP Send Email

PHP Send Email

   
Share


ช่วยกันสนับสนุนรักษาเว็บไซต์ความรู้แห่งนี้ไว้ด้วยการสนับสนุน Source Code 2.0 ของทีมงานไทยครีเอท


ลองใช้ค้นหาข้อมูล


   


Bookmark.   
       
  By : ThaiCreate.Com Team (บทความเป็นลิขสิทธิ์ของเว็บไทยครีเอทห้ามนำเผยแพร่ ณ เว็บไซต์อื่น ๆ)
  Score Rating :  
  Create/Update Date : 2008-10-19 11:18:45 / 2017-03-25 00:38:19
  Download : Download  PHP Mail Class (MIMEMAIL V 1.5)
 Sponsored Links / Related

 
PHP Sending Email / Send Mail
Rating :

 
PHP Sending Email Name Alias
Rating :

 
PHP Sending Email Cc and Bcc
Rating :

 
PHP Sending Email Reply-To Header
Rating :

 
PHP Sending Email ส่งอีเมล์ภาษาไทย กับ HTML Format (Thai Message)
Rating :

 
PHP Sending Email Attachment Files
Rating :

 
PHP Sending Email Contact Form
Rating :

 
PHP Sending Email Set Priority
Rating :

 
PHP Sending Email Upload Form & Attachment Files
Rating :

 
PHP Sending Email Multiple Array Upload Form & Attachment File
Rating :

 
PHP Sending Email Upload,Zip & Attachment Files
Rating :

 
PHP Sending Email Using Gmail SMTP Account Authentication
Rating :

 
PHP Sending Email Using SMTP Authentication
Rating :


ThaiCreate.Com Forum


Comunity Forum Free Web Script
Jobs Freelance Free Uploads
Free Web Hosting Free Tools

สอน PHP ผ่าน Youtube ฟรี
สอน Android การเขียนโปรแกรม Android
สอน Windows Phone การเขียนโปรแกรม Windows Phone 7 และ 8
สอน iOS การเขียนโปรแกรม iPhone, iPad
สอน Java การเขียนโปรแกรม ภาษา Java
สอน Java GUI การเขียนโปรแกรม ภาษา Java GUI
สอน JSP การเขียนโปรแกรม ภาษา Java
สอน jQuery การเขียนโปรแกรม ภาษา jQuery
สอน .Net การเขียนโปรแกรม ภาษา .Net
Free Tutorial
สอน Google Maps Api
สอน Windows Service
สอน Entity Framework
สอน Android
สอน Java เขียน Java
Java GUI Swing
สอน JSP (Web App)
iOS (iPhone,iPad)
Windows Phone
Windows Azure
Windows Store
Laravel Framework
Yii PHP Framework
สอน jQuery
สอน jQuery กับ Ajax
สอน PHP OOP (Vdo)
Ajax Tutorials
SQL Tutorials
สอน SQL (Part 2)
JavaScript Tutorial
Javascript Tips
VBScript Tutorial
VBScript Validation
Microsoft Access
MySQL Tutorials
-- Stored Procedure
MariaDB Database
SQL Server Tutorial
SQL Server 2005
SQL Server 2008
SQL Server 2012
-- Stored Procedure
Oracle Database
-- Stored Procedure
SVN (Subversion)
แนวทางการทำ SEO
ปรับแต่งเว็บให้โหลดเร็ว


Hit Link
   







Load balance : Server 01
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่