Programlama | Programlama Dilleri | C Programlama Dili |C++

´╗┐

Php ile E-Mail G÷ndermek

Php ile e-mail g÷ndermek išin mail() fonksiyonu kullan?l?r.

Írnek:

01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
<?php
á
$kime = " Bu e-posta adresini spambotlara kar┼č─▒ korumak i├žin JavaScript deste─čini a├žmal─▒s─▒n─▒z ";
$konu = "Konu";
$mesaj = "Mesaj";
$kimden = " Bu e-posta adresini spambotlara kar┼č─▒ korumak i├žin JavaScript deste─čini a├žmal─▒s─▒n─▒z ";
á
$mail = mail($kime, $konu, $mesaj, $kimden);
á
if($mail)
{
echo "E-Mail g÷nderildi.";
}
á
else
{
echo "E-Mail g÷nderilemedi!";
}
á
?>

E-Mail sunucu išin kimlik do?rulama yapman?z gerekirse alttaki kodlar?á$mailáde?i?keninden ÷nce uygun bir yere yap??t?r?n:

1
2
3
4
5
6
7
<?php
$params["host"] = "server.com";
$params["port"] = "25";
$params["auth"] = true;
$params["username"] = "kullanici";
$params["password"] = "parola";
?>

$mesajáde?i?keni išinde HTML karakter kullanmak isterseniz alttaki kodlar?á$mailáde?i?keninden ÷nce uygun bir yere yap??t?r?n:

1
2
3
4
<?php
$headersá = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
?>
Yorumlar (0)
Sadece kay─▒tl─▒ kullan─▒c─▒lar yorum yazabilir!
Son G├╝ncelleme ( Per┼čembe, 27 Haziran 2013 16:38 )  
backlinktr.biz | 523: Origin is unreachable

Error 523 Ray ID: 535577da6e5ed41f • 2019-11-14 02:13:48 UTC

Origin is unreachable

You

Browser

Working
Budapest

Cloudflare

Working
backlinktr.biz

Host

Error

What happened?

The origin web server is not reachable.

What can I do?

If you're a visitor of this website:

Please try again in a few minutes.

If you're the owner of this website:

Check your DNS Settings. A 523 error means that Cloudflare could not reach your host web server. The most common cause is that your DNS settings are incorrect. Please contact your hosting provider to confirm your origin IP and then make sure the correct IP is listed for your A record in your Cloudflare DNS Settings page. Additional troubleshooting information here.