473,394 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Software to test mail() function in php

Hi guys, I want to know is there any software with that i can test my mail function at any time in my local system. Actually, I m using Wamp and some time I need to test mail() function. As i m working in localserver so i canot test all the function. If you guys have any idea, then please give me site from there i can downloda. Thanks in advance .
Feb 19 '08 #1
3 1473
ronverdonk
4,258 Expert 4TB
Is is not that difficult to develop your own mail function. Try it and we'll help you along. Otherwise google for free mail software.

Ronald
Feb 19 '08 #2
Is is not that difficult to develop your own mail function. Try it and we'll help you along. Otherwise google for free mail software.

Ronald
Firstly I would like thank you for the kind response. I think you didn't get what i am looking for. Ok Let me make you clear, suppose following is my code for mail
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <body>
  3.  
  4. <?php
  5. if (isset($_REQUEST['email']))
  6. //if "email" is filled out, send email
  7.   {
  8.   //send email
  9.   $email = $_REQUEST['email'] ; 
  10.   $subject = $_REQUEST['subject'] ;
  11.   $message = $_REQUEST['message'] ;
  12.   mail( "someone@example.com", "Subject: $subject",
  13.   $message, "From: $email" );
  14.   echo "Thank you for using our mail form";
  15.   }
  16. else
  17. //if "email" is not filled out, display the form
  18.   {
  19.   echo "<form method='post' action='mailform.php'>
  20.   Email: <input name='email' type='text' /><br />
  21.   Subject: <input name='subject' type='text' /><br />
  22.   Message:<br />
  23.   <textarea name='message' rows='15' cols='40'>
  24.   </textarea><br />
  25.   <input type='submit' />
  26.   </form>";
  27.   }
  28. ?>
  29.  
  30. </body>
  31. </html>
  32.  
Now what i want to do is that i want to check locally whether i will working or not .. As I already mentioned, i m using Wamp, so how can i check it in my local system in absence any kind of mail server. I hope u got the point what i m want to tell. waiting for the response....
Feb 19 '08 #3
i just want to know that how can i instal a script in the server.
Feb 5 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

36
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but...
102
by: Steve Johnson | last post by:
I'd like to hear thoughts on what books, in your opinion, are true classics in the field of software engineering. I read a lot on the topic - at least a book a month for many years. There are many...
54
by: Matt | last post by:
How do we define systems programs? when we say systems programming, does it necessary mean that the programs we write need to interact with hardware directly? For example, OS, compiler, kernel,...
3
by: jab3 | last post by:
Hello. I"m new to this group, and to JavaScript in general, so please forgive me if I breach local etiquette. I'm trying to implement some client-side 'dynamic' validation on a form. I'm having...
191
by: Xah Lee | last post by:
Software Needs Philosophers by Steve Yegge, 2006-04-15. Software needs philosophers. This thought has been nagging at me for a year now, and recently it's been growing like a tumor. One...
4
by: jack | last post by:
HI all i dont know whether to ask this question in this group or not i just want to do proper step wise developement like planning and then codeing and then testing etc i have just got a...
8
by: john | last post by:
To test a new piece of software designed to help with (among other things) eCommerce WWW site development. The software is fairly easy to use but you must fit a profile. Retail price is 120 GBP and...
3
by: JanW | last post by:
Somewhat a C++ beginner, I'm trying to make a general test function that could test unary operators (or methods) of an object of any class. Arguments are a member-pointer to the function, a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.