473,385 Members | 1,324 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,385 software developers and data experts.

Form - Email question for NEWB

Hello,
I have been trying several php form scripts that send an email to me
once the user clicks submit. I have edited the code so that my correct
email is in the php script. However, I never receive the email. Is it
possibly because my server doesn't have SMTP forwarding?
Any help would be appreciated.
Thanks in advance.
- hoops
Jul 9 '06 #1
3 959
the mail function is uber easy to use in php.. that is.. however if its
configured correctly in php, run a script with phpinfo(); and you can
see the smtp settings etc in there, and of course you have to have a
mail server running..

Flamer.

Hoopster wrote:
Hello,
I have been trying several php form scripts that send an email to me
once the user clicks submit. I have edited the code so that my correct
email is in the php script. However, I never receive the email. Is it
possibly because my server doesn't have SMTP forwarding?
Any help would be appreciated.
Thanks in advance.
- hoops
Jul 10 '06 #2

This is what is showed.

SMTP localhost localhost
smtp_port 25 25


On 9 Jul 2006 17:10:00 -0700, "flamer di******@hotmail.com"
<di******@hotmail.comwrote:
>the mail function is uber easy to use in php.. that is.. however if its
configured correctly in php, run a script with phpinfo(); and you can
see the smtp settings etc in there, and of course you have to have a
mail server running..

Flamer.

Hoopster wrote:
>Hello,
I have been trying several php form scripts that send an email to me
once the user clicks submit. I have edited the code so that my correct
email is in the php script. However, I never receive the email. Is it
possibly because my server doesn't have SMTP forwarding?
Any help would be appreciated.
Thanks in advance.
- hoops
Jul 10 '06 #3

Hoopster wrote:
This is what is showed.

SMTP localhost localhost
smtp_port 25 25
yes that is correct..IF there is a mail daemon running on the local
machine, run netstat and see if port 25 is open, what mail daemon are
you running?? your php config is ok, your mail config probably isnt,
are you actually wanting to run an email server on this box?? if not
just point your php.ini file to use your isps smtp server.

Flamer.

Jul 10 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: luke | last post by:
hi, while i'm not new to php, i'm new to pattern matching and am finding it rather difficult .. i would like to take a string that's an email address, and change the '@' with '(at)' and any '.'s...
1
by: googleboy | last post by:
Hi. I am writing up my own web form. I'm a bit of a newb, and read up many different how-tos and examples and documentaion. I finally had it working just great until I decided that I wanted to...
1
by: Ryan Case | last post by:
I am using Access to store data from a CAD program. We then in turn have another program pull data from Access to drive computerized saws. In order to get the data from the CAD program to Access, a...
2
by: Jon | last post by:
All, I'm currently working with a PHP-based CMS application, and am begining to put the finishing touches on it via Javascript validation. Currently, I'm using fairly standard methods of...
4
by: SteveKlett | last post by:
I have a subset of form items that I need to perform different operations on (enable/disable, clear values, change style, etc) rather than hard code the IDs or names I would like to recursively...
1
by: Vanyok | last post by:
Hi everyone :) I'm a newb to C-Sharp but more I learn about it - more I like it. I need some help please. I'm trying to find out to dynamically allocate form controls. For example I want to have 5...
4
by: MikeBreslin | last post by:
Forgive me, I'm a newb at this, but I'm trying to help a charitable organization who have migrated their database from an Access 2000 MDB file to SQL Server Express via an Access ADP file. They have...
2
by: Matthew Loraditch | last post by:
I have several different variations of the same form. Some include an asp Radio Button list option called rb_monthly. If that option exists I need to do some extra processing on the form. The...
3
by: MyWaterloo | last post by:
Heya... Thanks in advance if you can help... or at least understand my gibberish. I have 2 tables, let's call them tblBacT and tblBacTData, they are related through the auto number primary key...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.