Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
🚀 GOOGLE AI PRO 18 MONTHS ACTIVATION 🚀
sayuru bandara
Updated:
Today at 5:34 PM
Pure VPN - Up to 27 Months
vgp
Updated:
Friday at 8:10 AM
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Jun 2, 2026
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
May 30, 2026
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
Web Page Designing
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="programmer98" data-source="post: 20697482" data-attributes="member: 559058"><p><span style="font-size: 12px">හරි විදියට mail යවන්න නම් SMTP use කරන්න ඕන. එත් ඔකේ mail එක යන්නේ එකම address එකකට නිසා සරලව php mail() function එකෙන් කරගන්න පුළුවන් වෙයි.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">Step 1:</span></p><p><span style="font-size: 12px">PHP file එකක් හදා ගන්න මොකක් හරි නමකින්. ex: <span style="color: Red">sendmail.php</span></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">දැන් මේ code කෑල්ල දාන්න.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"></span></p><p>[CODE][FONT=Tahoma][SIZE=2]<?php</p><p>[/SIZE][/FONT][FONT=Tahoma][SIZE=2][FONT=Tahoma][SIZE=2]// Check incomming request</p><p>[/SIZE][/FONT]if(isset($_GET['email'])) {[/SIZE][/FONT][FONT=Tahoma][SIZE=2][FONT=Tahoma][SIZE=2]</p><p></p><p>$msg = [/SIZE][/FONT][/SIZE][/FONT][FONT=Tahoma][SIZE=2]$_GET['email'];[/SIZE][/FONT][FONT=Tahoma][SIZE=2] </p><p></p><p>// send email</p><p>mail("YOUR_EMAIL_ADDRESS","EMAIL_SUBJECT",$msg);</p><p></p><p>echo "mail send";</p><p>[/SIZE][/FONT] } else {</p><p></p><p>die();</p><p></p><p>}</p><p>[FONT=Tahoma][SIZE=2]?>[/SIZE][/FONT]</p><p>[/CODE]<span style="font-size: 12px"></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">Step 2:</span></p><p><span style="font-size: 12px">දැන් ඔයාගේ ඔය දාල තියෙන කෝර්ඩ් එකේ,</span></p><p><span style="font-size: 12px">මෙතනට කලින් හදාගනිපු php file name එක දෙන්න.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">...</span></p><p><span style="font-size: 12px"><form action="<span style="color: Red">sendmail.php</span>" method="get" id="subscribe"></span></p><p><span style="font-size: 12px">...</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">Step 3:</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">දෙකම same directory එකකට upload කරලා test කරලා බලන්න.. මේ තියෙන සරලම ක්රමේ <img src="/styles/default/xenforo/smilies/default/rolleyes.gif" class="smilie" loading="lazy" alt=":rolleyes:" title="Rolleyes :rolleyes:" data-shortname=":rolleyes:" /></span></p><p><span style="font-size: 12px"></span></p></blockquote><p></p>
[QUOTE="programmer98, post: 20697482, member: 559058"] [SIZE=3]හරි විදියට mail යවන්න නම් SMTP use කරන්න ඕන. එත් ඔකේ mail එක යන්නේ එකම address එකකට නිසා සරලව php mail() function එකෙන් කරගන්න පුළුවන් වෙයි. Step 1: PHP file එකක් හදා ගන්න මොකක් හරි නමකින්. ex: [COLOR=Red]sendmail.php[/COLOR] දැන් මේ code කෑල්ල දාන්න. [/SIZE] [CODE][FONT=Tahoma][SIZE=2]<?php [/SIZE][/FONT][FONT=Tahoma][SIZE=2][FONT=Tahoma][SIZE=2]// Check incomming request [/SIZE][/FONT]if(isset($_GET['email'])) {[/SIZE][/FONT][FONT=Tahoma][SIZE=2][FONT=Tahoma][SIZE=2] $msg = [/SIZE][/FONT][/SIZE][/FONT][FONT=Tahoma][SIZE=2]$_GET['email'];[/SIZE][/FONT][FONT=Tahoma][SIZE=2] // send email mail("YOUR_EMAIL_ADDRESS","EMAIL_SUBJECT",$msg); echo "mail send"; [/SIZE][/FONT] } else { die(); } [FONT=Tahoma][SIZE=2]?>[/SIZE][/FONT] [/CODE][SIZE=3] [/SIZE] [SIZE=3]Step 2: දැන් ඔයාගේ ඔය දාල තියෙන කෝර්ඩ් එකේ, මෙතනට කලින් හදාගනිපු php file name එක දෙන්න. ... <form action="[COLOR=Red]sendmail.php[/COLOR]" method="get" id="subscribe"> ... Step 3: දෙකම same directory එකකට upload කරලා test කරලා බලන්න.. මේ තියෙන සරලම ක්රමේ :rolleyes: [/SIZE] [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom