473,756 Members | 5,129 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

smtp server error

First of all, I'm new to PHP. For my website I have some PHP scripts to run
a photo database. New users have to register them selfs. After registring
the new user is getting an e-mail maid by an php script. But if the user
clicks on the button to sent his info, so the PHP can sent him an e-mail, it
always results in this error
Warning: mail(): SMTP server response: 451 Request action aborted; local
processing error in {the file en line number}
In the PHP.ini smtp = localhost is set {I'm running apache under windows XP
pro) and have a mail server on the same server.

Hope someone can help me.

Sorry for the bad english..

--
# Antwoord onderaan en op een lege regel, dus niet achter >>> tekens #
Ik lees alleen mail gepost naar onderstaand adres.
Mi**@familie-smit.nl


Jul 17 '05 #1
2 4696
On Wed, 17 Mar 2004 23:06:31 +0100, Mike Obiku wrote:
First of all, I'm new to PHP. For my website I have some PHP scripts to run
a photo database. New users have to register them selfs. After registring
the new user is getting an e-mail maid by an php script. But if the user
clicks on the button to sent his info, so the PHP can sent him an e-mail, it
always results in this error
Warning: mail(): SMTP server response: 451 Request action aborted; local
processing error in {the file en line number}
In the PHP.ini smtp = localhost is set {I'm running apache under windows XP
pro) and have a mail server on the same server.

Hope someone can help me.

Sorry for the bad english..


No problem, your English is better than most of my colleagues.

I don't know if I can help but here are some questions for you anyways:

1) What mail (SMTP) Server are you using?

2) Could you post the relevant PHP code, please?

3) Are you able to send mail locally, from, for example Eudora or Mozilla
mail using "localhost" as the SMTP server in the configuration for your
email application?

If not, then there is something wrong with your localhost mail setup.

later...

--
Jeffrey D. Silverman | jeffrey AT jhu DOT edu
Website | http://www.wse.jhu.edu/newtnotes/

Jul 17 '05 #2
Jeffrey Silverman wrote:

No problem, your English is better than most of my colleagues. Thanks for the complement

<snip>
1) What mail (SMTP) Server are you using? I use ISMail, from Instantservers.
2) Could you post the relevant PHP code, please?
This is a little peace of the PHP code
if ($age == "adult") {
if ($Globals['emailverify'] == "yes") {
$query = "SELECT userid FROM {$Globals['pp_db_prefix']}users
WHERE username='$pick _username' AND joindate='$join date' LIMIT 1";
$resulta = ppmysql_query($ query,$link);
list( $theuid ) = mysql_fetch_row ($resulta);
ppmysql_free_re sult($resulta);

require_once("l anguages/{$Globals['pplang']}/emails.php");

$email_from = "From: {$Globals['adminemail']}";
$letter = $Globals['pp_lang']['emailreg'];
$subject = $Globals['pp_lang']['emailrsub'];

mail( $email, $subject, $letter, $email_from ); <===

$done = "{$Globals['pp_lang']['thanksreg']}<p>

<a href=\"{$Global s['maindir']}/index.php\"><fo nt
class=\"medium\ ">
{$Globals['pp_lang']['retfront']}
{$Globals['galleryname']}</font></a>";

diewell( $done );
}
}
The line with the arrow is the line where the browser normaly returns the
following fault:
Warning: mail(): SMTP server response: 451 Request action aborted; local
processing error in c:\www\register .php on line 491
If I change teh smtp setting in the php.ini file to smtp = (ipadres of
mailserver), it results in the same fault as if i have set smtp = localhost.
When I change it to my ISP mailserver, no mail is sent.
3) Are you able to send mail locally, from, for example Eudora or
Mozilla mail using "localhost" as the SMTP server in the
configuration for your email application? If you mean, can you sent a e-mail form one pc to a other pc whitin my
domain. Yes. I have 3 pc, one of them is my web and e-mail server. On that
pc I changed smtp setting in the php.ini to localhost an after that to the
IP of the PC. In both cases it return an error. If I change it to the
mailserver of my ISP, it doesn't return a error. Only no one wil get a
email.
If not, then there is something wrong with your localhost mail setup.

later...

--
# Antwoord onderaan en op een lege regel, dus niet achter >>> tekens #
# Reply at the bottom and on a empty line, not behind any >>> sign #
Ik lees alleen mail gepost naar onderstaand adres.
I only read mail sent to the adres at the bottom.
Mike@familie-smit_punt_nl (vervang _punt_ voor een .)
Jul 17 '05 #3

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

Similar topics

2
7951
by: Mark Carter | last post by:
I'm trying to create a mail server in Twisted. I either get SMTPSenderRefused or SMTPException: SMTP AUTH extension not supported by server. What do I need to do to get it to work?
4
25421
by: Alex Hunsley | last post by:
I am using the smtp module to send emails via a local SMTP server on our network. I am failing with "connection refused" error, even though we definitely have an smtp server running on port 25! the code is like this: me = 'ahunsley@companyname.com' you = 'someonelse@companyname.com' msg = '*** alert'
7
2334
by: Nancy | last post by:
Hi, Is there any one knows, if I want to use mod_python to handle my html form, I must have a SMTP server on my PC(winxp pro)? Where can I get a free SMTP server? I cann't follow mod_python's manual example (http://www.svencoop.com/manual/mod/mod_python/tut-pub.html), why ... Thanks a lot.
2
9713
by: David | last post by:
Hi Group, I'm having a few problems with getting an SMTP server configured on my Windows 2000 Server web server. My web server is co-located at my hosts and i use VNC to remotely access the web server. Acting on advice from my host IIS's SMTP server has been disabled by running the IIS lockdown Tool. I have internal access to my hosts SMTP server where i can send mail from my web site to my own domain email address only, i am not...
1
8041
by: bivin | last post by:
hai i am requesting your technical support. please help me. i have been working with this for five days. the problem is relating with the smtp. i am trying to send an email from the asp.net page. earlier it was showing send using not find error.
3
5597
by: Charlie | last post by:
Hi: Using the sMTP class and my ISP as smtp server, I sometimes get the following message: "The message could not be sent to the SMTP server. The transport error code was 0x800ccc60. The server response was 69.140.46.229 has too many connections ( 2 ) on sccrmhc12 " Does anyone know what this means?
5
2501
by: Charlie | last post by:
Hi: I'm working on an e-commerce site. Using the SMTP class, my site sends out confirmation messages. It works most of the time, but sometimes raises an error. I need a way of making sure it goes out every time. I thought about wrapping a try-catch handler in loop that keeps on retrying if delivery fails. Is this a good idea? If not, what is the best way of handling this kind of thing? Thanks,
34
18269
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 "127.0.0.1". 4. Authentication: "Anonymous access" only. 5. Outbound connection listen to TCP 25. Besides,
7
7742
by: oopsbabies | last post by:
Hello everyone, I am using Apache 1.3.33 as the web server and PHP version 4.3.10. My machine is using Windows XP 2002 professional edition which comes with a Windows firewall. I am using McAfee free edition for anti-virus. I use an ISP provider from my country and according to them I do not need to perform authentication while sending mails through their SMTP address. Thus I am using external SMTP server. I don't have IIS installed...
0
9455
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9271
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10031
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9838
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9708
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7242
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6534
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3805
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2665
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.