![]() |
E-Mails won't send
Conact Us, Contact Owner and E-Mail a Friend won't send - I do get the 'Thank you, your E-Mail has been sent' Message but I don't receive any E-Mails (spam filter is turned off!)
|
Are you on a windows or linux host?
Also do you know if you can send mail through smtp? |
Microsoft Internet Explorer
|
Can you try this. Create a new php page. Example test.php and include this code:
PHP Code:
Change the $to variable to your email address. Next upload it to your server and visit that page. Then see if you get an email. |
Quote:
What we really need to know is if the web host (the company you have hosting your classified site) is using a windows or unix operating system. Also, do they require you to use smtp for transfering mail? Also, the e-mail address you are using for your classified site, is it an e-mail address that is hosted by your web company as well? To further clarify what I mean by the e-mail address, lets say your web site is http://mysuperclassifieds.com Is the e-mail address you use end in @mysuperclassifieds.com? or is it another e-mail address like [email protected]? |
my host is SimpleHost.com but I'm using a msn.com e-mail address for my website (don't know anything about the operating system of my server, and don't know where I could find out!)
I'll see if I can get Eric's suggestion to work! |
okay - I haven't created a new.php file yet to test my script but the Contactus e-mail function does work now - E-mail a friend and contact Owner don't work still.
|
Quote:
By default the php scripts will route mail to the local configured mail server and if the e-mail is from an address that is hosted on the server it will take it and deliver it. If your using a different e-mail address the mail server will see the "from" address as one not belonging to a site hosted by the server and will typically not "relay" the message. If you want to use an e-mail address other than one hosted on your web host you will have to use smtp and add some code. I would recommend, if possible to use an e-mail address hosted by your web host, most hosting packages come with the option to create and use e-mail. This looks more professional for one and reduces potential problems with e-mail like your having now. Ill take a look at SimpleHost.com and see what I can find. If your msn e-mail account is a free one, they may not allow the use of smtp e-mail. but I cant say for sure have never had an account with msn, free or otherwise. |
It looks like simple host has a pretty thurough FAQ on setting up and using e-mail with their hosting.
http://www.simplehost.com/faq/04160377.htm I would try and create an e-mail through them, something like [email protected] or [email protected] and use that for your classified site. |
I created a test.php, went to the page (which was completely blank)
PHP Code:
and received this From: [email protected] Subject: the subject Message Body: hello should something else have happend or should I have been able to see something other than a blank screen when I went to that test.php page? |
| All times are GMT -4. The time now is 06:44 AM. |
Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2006, Jelsoft Enterprises Ltd.