473,397 Members | 2,116 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,397 software developers and data experts.

PHP mail() Issue

eragon
431 256MB
Hello, i get a error from my browser when i try to send a email to me whenevre someone posts a topic in my forums. Can you help me with this?

Heres the error:
Expand|Select|Wrap|Line Numbers
  1. Warning: mail() [function.mail]: Safety Restriction in effect. The mail() command is not allowed, contact the admin. in /forums/mboard.php on line 470
how do i disable the safety restriction?
Jul 6 '07 #1
5 1995
ak1dnar
1,584 Expert 1GB
In the server mail() function has been disabled I think.
check it by running phpinfo().
Jul 7 '07 #2
pbmods
5,821 Expert 4TB
Could this be an issue with running PHP in safe mode?
Jul 9 '07 #3
eragon
431 256MB
no, my stupid server makes you pay to remove this block!
Jul 9 '07 #4
kovik
1,044 Expert 1GB
That's because the mail() function can be easily abused, and when used, you can send a lot of spam, easily putting your host and other users sharing hosting with you on a blacklist. Once you pay for it, you're less likely to abuse it.

I'd suggest that you use SwitfMailer and connect to your own e-mail address using an SMTP connection.
Jul 9 '07 #5
eragon
431 256MB
ill try that, hey, try and find the eragon vs mary discussion in the cafe... and, do you think mary's dragon avatar is the same as miine? im arguing about that...
Jul 9 '07 #6

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

Similar topics

2
by: Web Master | last post by:
Hi, I am having a little issue with Jacks Form mail php script. I have installed it and configured the form to get it to work, but for some bizarre reason I have 2 issues I can't seem to debug....
3
by: connie | last post by:
I have an E-mail ASP Web form that is using a CDO Mail Object. This form has to be filled out before the customer can download our demo. Currently, the customer fills out the form, clicks to...
16
by: polilop | last post by:
I made a form in which I send the visitor a link to my page but when the visitor gets that link in the mail it dosent send him to the page just says invalid syntax or something like...
3
by: ralphNOSPAM | last post by:
I'm trying to send a Txt Msg to my Verizon cell phone using PHP Mail(). I use a mail gateway that verizon has provided. It works OK - but - the From string I see on my cell phone when I get the txt...
3
by: Bart Stes | last post by:
Hey guys, I'm try to write a very simple winform app that allows the users to send an email. I use the System.Web.Mail MailMessage class for this. But when it comes to adding an attachment,...
3
by: Chris Thunell | last post by:
I am using the following code to send email out in a vb.net web program through an exchange 2003 server. My web server is on a separate server. When i try to send email inside the office, it works...
0
by: Keith C. Jakobs, MCP | last post by:
Greetings: I am having a problem sending e-mail from an ASP.NET Web Form I was hoping to find some insight on here in this newsgroup. Its a very simple form to send back request information,...
34
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
4
by: k.visube | last post by:
In my ASP application,i need to send a formatted text mail (i.e with newline characters). here in my application i used a function in javascript which construts the mail body sample snippet ...
6
by: nextpulse | last post by:
On Fedora, using php5. The mail() function returns a success - but the mail itself is not actually sent. How do I go about debugging this? Do I need to do this at the linux command level to ensure...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.