Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Programming

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-10-2005, 08:28 PM
New kid on the block
 
Join Date: Sep 2005
Location: selangor
Posts: 9
Rep Power: 0
el_idura is on a distinguished road
mail to yahoo

Ade saper2 tahu
cam ne nak setting antar mail to yahoo pakai PHP,
cam ne nak setting kat server ngan php.ini ???
kalu leh ade tak yg tau tutorial yg baguih utk setting nih....
tak paham laa....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-10-2005, 01:48 AM
zaimlah's Avatar
Inspired Webmaster
 
Join Date: Jul 2001
Location: ttdi
Posts: 129
Rep Power: 92
zaimlah is on a distinguished road
Quote:
cam ne nak setting antar mail to yahoo pakai PHP,
Something like this:
PHP Code:
$ok mail("somebody@yahoo.com""Hello!""Apa khabar anda di sana?");
if (
$ok) {
  echo 
"Mail sent!";
}
else {
  echo 
"Mail failed!";

----------------
Quote:
cam ne nak setting kat server ngan php.ini ???
Kalau guna localhost dalam windows, kena set SMTP server dalam php.ini, cari line yang berikut (lebih kurang pada line #663)
Code:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com
Tukarkan localhost kepada custom SMTP server. contohnya, kalau guna streamyx, setkan kepada smtp.streamyx.com. Uncomment line ;sendmail_from = me@example.com (buangkan character ';') dan tukarkan me@example.com kepada email address webmaster.
----------------
Quote:
kalu leh ade tak yg tau tutorial yg baguih utk setting nih....
not sure kalau ada, sorry.
__________________
blog:zaim_bakar_blog | biz:box
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-10-2005, 09:03 PM
New kid on the block
 
Join Date: Sep 2005
Location: selangor
Posts: 9
Rep Power: 0
el_idura is on a distinguished road
email address webmaster tuh cam ne yerk...
maksud nyer kalu web kite nama die test.com so kite wat cam nih

PHP Code:
sendmail_from webmaster@test.com 
ker???

kite leh create suke2hati jer ker nak name aper...
makne nyer, kalu org tuh nak reply gune mail webmaster tuh ker??
nnt die hantar reply tuh kat mane yerk??
kat outlook ker???
kite kena set kan kat outlook ker???


saye dah try care tuh tp kuar nih

PHP Code:
WarningServer Error in c:apachehtdocsmail.php on line 2
Mail failed

problem kat line $ok = mail("");

PHP Code:
<?
 $ok 
mail("idura@yahoo.com""Hello!""Apa khabar anda di sana?"); 
if (
$ok) { 
  echo 
"Mail sent!"

else { 
  echo 
"Mail failed!"
}  
?>
sorry saye mmg blurrr ttg nih...
mmg tak phm cam ne operation die...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-10-2005, 03:43 PM
New kid on the block
 
Join Date: Sep 2005
Location: selangor
Posts: 9
Rep Power: 0
el_idura is on a distinguished road
saya punye internet connection kena setting gak ker
sbb die kate server error mybe sbb internet connection sy ker???
outgoing mail???
cam ner??

Last edited by el_idura; 08-10-2005 at 04:05 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-10-2005, 11:02 PM
zaimlah's Avatar
Inspired Webmaster
 
Join Date: Jul 2001
Location: ttdi
Posts: 129
Rep Power: 92
zaimlah is on a distinguished road
Quote:
Originally Posted by el_idura
email address webmaster tuh cam ne yerk...
kalau tengah testing je, email address tu boleh letak apa2. kegunaan address ni hanya utk set "From" field dalam email yg dihantar melalui PHP (e.g. bila org check email kat yahoo tu, "From" field akan tunjuk address ni lah...)

pasal error tu... ya, mungkin pasal internet connection (e.g. ada tak connection???), internet connection mesti ada supaya PHP boleh hantar email. pasal setting, saya not sure, setahu saya takde.
__________________
blog:zaim_bakar_blog | biz:box
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 09-10-2005, 05:35 AM
New kid on the block
 
Join Date: Sep 2005
Location: selangor
Posts: 9
Rep Power: 0
el_idura is on a distinguished road
nape saye buat cam arahan tak leh gak. die still kuar

PHP Code:
WarningServer Error in c:apachehtdocsmail.php on line 2 
Mail failed

ade tak, ape2 yg perlu tulis ker pggl mane2 fail kat code kite anta mail tuh, saye cume tulis nih jer leh ker

PHP Code:
<? 
 $ok 
mail("idura@yahoo.com""Hello!""Apa khabar anda di sana?");  
if (
$ok) {  
  echo 
"Mail sent!";  
}  
else {  
  echo 
"Mail failed!";  
}   
?>
saye dah try ping stremyx tuh leh ade jer....makne nyer tak de pape masalah kat situ........ ape masalah nyer nih....

ker apache saye ade prob??

ker yahoo tak kasi saye anta???

Last edited by el_idura; 09-10-2005 at 05:49 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 10-10-2005, 01:32 AM
zaimlah's Avatar
Inspired Webmaster
 
Join Date: Jul 2001
Location: ttdi
Posts: 129
Rep Power: 92
zaimlah is on a distinguished road
mungkin sebab streamyx smtp server tak kasi anonymous access... try guna smtp server lain...

tapi saya tak tau apa2 address server lain, sorry

ada sesiapa kat sini tau tak??? pls help, dengar macam desperate je ni
__________________
blog:zaim_bakar_blog | biz:box
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-10-2005, 06:22 AM
New kid on the block
 
Join Date: Sep 2005
Location: selangor
Posts: 9
Rep Power: 0
el_idura is on a distinguished road
bukan desprate laaa...
cume geram jer...
x paham ape masalah nyer......
mcm2 wat pun tak leh gak..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 13-10-2005, 04:03 PM
ejoe's Avatar
Novice Webmaster
 
Join Date: Aug 2001
Location: www.ejoe.net
Posts: 25
Rep Power: 0
ejoe is on a distinguished road
Send a message via Yahoo to ejoe
xyah guna localhost guna server berbayar la huhu gerenti dpt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
E-Mail Backup, Email Defense, E-Mail Marketing! Get one for your website! starsearcher Web Hosting Offers 0 16-01-2006 12:03 PM
yahoo e-mail ckita Mamak Stall 12 08-12-2004 05:38 PM
Problem login to yahoo mail ac. sportstoto3368 Website Design 1 22-10-2004 06:24 AM
Mail to SMS white_neck Website Programming 14 07-08-2004 07:55 PM
100MB yahoo mail FREE xhensem Other Webmaster-related Services and Promotion 6 16-06-2004 10:46 PM


All times are GMT +8. The time now is 01:17 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61