FAQ |
Calendar |
![]() |
|
Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman. |
![]() |
|
Thread Tools |
#1
|
||||
|
||||
![]()
Gan, tanya dong..... Cara kirim mail dari localhost gimana ? ane dapat info dari google neh ini infonya Quote: I have some experience in this area, so I thought I could share some of my knowledge. As I'm writing this tutorial, I assume you already have basic PHP programing skills and understanding of web. I'm going to describe several email sending techniques as well as basic DNS setup. First some terminology: ISP - Internet Service Provider SMTP - Simple Mail Transfer Protocol DNS - Domain Name System 1. Sending emails from ISP relay SMTP This is the best solution if you want to send registration emails. Not all ISPs offer this kind of service, so you should check ISP website for following information: a) SMTP address/port b) Autentification type c) Any limits in messages number or sending delays etc.. If SMTP autentification is not required then you have your relay server Lets test it now. Now in PHP theres is mail() fucntion. Lets say your ISP provides SMTP with domain "mail.example.com". So you would do something like this to test if emails are sent: PHP Code: Pas ane coba gak bisa gan ![]() Ada yang bisa gak ? Ajarin dong ![]() Untuk List SMTP bisa di lihat di SINI Terkait:
|
![]() |
|
|