General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 7th, 2003, 05:26 AM
alisafwan alisafwan is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: pakistan
Posts: 18 alisafwan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
PLz Help Mail Sending

Hi ever Body!
once again i need your help

i am trying to mail by php using apache mysql and on windows 2000 envoirment

the setting of my php.ini files are

//*****************




[mail function]
; For Win32 only.
SMTP = city.ciit.pk
; for Win32 only


; For Win32 only.
sendmail_from = me@localhost.com ; for Win32 only

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =



//****************



and i am using mail sever given on the address below

http://www.mailenable.com/


and my mail code is

//*************************************************


<?

$letter = "
Congratulations on successfully ";
$mailheaders = "From: Admission Officer CIIT \r\n";
//$mailheaders .= "Reply-To: bcs_f99_008@comsats.edu.pk";
mail("bcs_f99_008@comsats.edu.pk","Interview Call", $letter, $mailheaders);
echo 'mail send 1';
?>




but i am getting error


Warning: Failed to Connect in c:\program files\apache group\apache\htdocs\1\mail\emails.php on line 14
mail send 1



plz help me i am too worried

thanks

Reply With Quote
  #2  
Old July 7th, 2003, 05:38 AM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 788 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 7
Try changing me@localhost.com to a valid one.
__________________
__________________________________________________ _
Wil Moore III, MCP | Integrations Specialist | Senior Consultant
Are You Listed...? | DigitallySmooth Inc.

Reply With Quote
  #3  
Old July 14th, 2003, 08:28 AM
alisafwan alisafwan is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: pakistan
Posts: 18 alisafwan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
PLZ HELP its too urgent

hi

on windows plat form i can send mail but while using linux i cant
there is a mail server in our lab having address 172.20.4.4
and my user name on that server is bcs_f99_008@comsats.edu.pk
now i have to configure my linux system such that i could send mail by my php interface and recive that as well in mysql database on my linux computer first of all plz tell me how to configure that to send mail

and if u could tell me the function to recive mail
thanks

on windows my php.ini configurations are below


[mail function]
; For Win32 only.
SMTP = 172.20.4.4
; for Win32 only

; For Win32 only.
sendmail_from = me@localhost.com ; for Win32 only

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =



and plz reply soon coz my project due date is tooo near

i will be greatful to u.
thanks
Ali safwan.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > PLz Help Mail Sending


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT