SMTP Configuration

I'm using Wamp for php, I've little doubt to config the smtp for sending mail. I go thru by reference by wamp installation manual, still i've facing the problem. I've changed


in both apache/bin2/php.ini file as well as php/php.ini. its working fine with in mydomain name sending to other like that gmail / yahoo or someother the following errors display. "The message could not be sent because one of the recipients was rejected by the server. The rejected email address was email-id .server response: 553 sorry you have not authenticated for relay and <emailid> is not a local address server errror 553, error number :0x0800CCc79.


Configuration - Changing SMTP In .ini?

I need help changing my settings within the php.ini file. When i run my php code i get this error:

Warning: mail() [function.mail]:
Failed to connect to mailserver at
"localhost" port 25, verify your
"SMTP" and "smtp_port" setting in

i'm using the wamp server. So, i opened up the php.ini and i found the [mail function] area.i'm not exactly sure what i'm supposed to change.At the moment this is what it looks like:

[mail function]
; For Win32 only.
; ""
SMTP = localhost
; ""
smtp_port = 25

I'm pretty sure i'm supposed to change the "SMPT = localhost" part, but what am i supposed to change it to?

NOTE* the two link within the mail function are in quotes because im not allowed to post more than 1 hyperlink...

View 1 Replies View Related

PHP SMTP Configuration (Lotus Domino)

I have Apache and PHP installed. Now I want to use the mail() function
in PHP. On the Linux server I have running Lotus Domino as SMTP server
and I don't know how to configure PHP to use the Lotus Domino SMTP server.

I use the setting SMTP=localhost to access the Domino server, but this
does not work. Also if I change it to a DNS entry, it does not work.

For testing it I use a simple mail() call (with the appropriate
parameters. This function does return false and not any error, so I have
no clue where to further look at.

View 11 Replies View Related

Smtp Configuration For Mail Function?

I am sending mails from my website by using php mail function.But now it is not working and I contacted our hosting team then they told me to use smtp as they did some changes in server.I don't know how to do it.Current code(with php mail function) is as follows, can anyone help me about the changes wchich I have to do with this.

$headers = "";
$headers .= "From:


View 2 Replies View Related

Configuration Settings : Showing An Error "Failed To Set Sender [SMTP: Invalid Response Code Received From Server"?

I have developed flex based application with php. My client is using Windows 2003 Server. I installed IIS Server and Php Installer into my client machine. I configured php into IIS Server and its working fine.

Query: I wrote a mail code for sending mail to my application user. My client is using internal mail server. I want to send a mail through my application. I used into my application and Its working perfectly. But when I am using client internal mail server. It is showing below mentioned error.

"Failed to set sender [SMTP: Invalid response code received from server. (Code: 554, response: Mail from mail-id rejected for policy reasons.]"

View 2 Replies View Related

Xml - Configuration Manager / Configuration File In Ini Or DB And Not The Default One (in This Case XML), Code Should Handle That Part?

I am working on code re-factoring of configuration file loading part in PHP. Earlier I was using multiple 'ini' files but now I plan to go for single XML file which will be containing all configuration details of the project. Problem is, if somebody wants configuration file in ini or DB or anything else and not the default one (in this case XML), my code should handle that part.

If somebody wants to go for other configuration option like ini, he will have to create ini file similar to my XML configuration file and my configuration manager should take care everything like parsing, storing in cache. For that I need a mechanism lets say proper interface for my configuration data where the underlying data store can be anything( XML, DB, ini etc) also I don't want it to be dependent on these underlying store and anytime in future this should be extensible to other file formats.

View 2 Replies View Related

Program Not Running On A Different Server - SMTP Error: Could Not Connect To SMTP Host

iv written some codes on sending mails using google smtp, yahoo smtp, and aol smtp in php. its working fine. but when im trying to run the same codes on a different server and domain it is giving me the following error: SMTP Error: Could not connect to SMTP host.

View 2 Replies View Related

PHPMailer: SMTP Error: Could Not Connect To SMTP Host

I've used PHPMailer on several projects but now I'm stuck. It gives me the error: SMTP Error: Could not connect to SMTP host. I've tried sending email from Thunderbird and it works ! But not through PHPMailer ... Here are the settings from Thunderbird:.....

$mail = new PHPMailer();
$mail->IsSMTP(); // send via SMTP
$mail->Host = SMTP_HOST; // SMTP servers
$mail->Port = SMTP_PORT; // SMTP servers
$mail->SMTPAuth = true; // turn on SMTP authentication
$mail->Username = SMTP_USER; // SMTP username
$mail->Password = SMTP_PASSWORD; // SMTP password

View 3 Replies View Related

Send Email Using GMail SMTP Server - Set Pop / Smtp In Php.ini

Possible Duplicate: Send email using GMail SMTP server from PHP page i have a mac and i was wondering how i can set pop/smtp using gmails information in php.ini?

View 1 Replies View Related

Send Mail Through SMTP Using Gmails Smtp Server?

Im trying to send mail through SMTP using gmails smtp server. But the problem is I get a Failed to connect error. I dont know what I'm doing wrong. Perhaps someone could give insight of why the problem is occurringHere is my code:


View 4 Replies View Related

SMTP Error: Could Not Connect To SMTP Host

I have this code, and all works well in my local server. The email is sent without any problem. But now I pass the content to webserver, and I get this error... SMTP Error: Could not connect to SMTP host. SSL is enable in the server..correct? so, what is the problem?

$mail = new PHPMailer();
$mail->SMTPAuth = true; // enable SMTP authentication
$mail->SMTPSecure = "ssl"; // sets the prefix to the servier
$mail->Host = ""; // sets GMAIL as the SMTP server

View 1 Replies View Related

SMTP Error "Could Not Connect To SMTP Host" With PHPMailer

I am getting "SMTP Error: Could not connect to SMTP host." error while trying to send mails using GMAIL SMTP and PHPMailer.. The code is working perfectly in local environment but getting error in live (bluehost) server.

View 1 Replies View Related

Mailer Error: SMTP Error: The Following SMTP Error: Data Not Accepted?

The following code gives the message Mailer Error: SMTP Error: The following SMTP Error: Data not accepted. But when I replace $EmailAdd with a [URL]. The mail was sent.What's wrong with my code? I'm kind of new in php, especially in dealing with mail functions.

$sql1 = "SELECT Email_Address FROM participantable where IDno=$studId";
$result1 = mysql_query($sql1);
while ($row1 = mysql_fetch_assoc($result1)){


View 3 Replies View Related

Free SMTP Server Called Free SMTP Server

I downloaded a free SMTP server called Free SMTP server. And I have a PHP script that looks like this:

$to="My Email Address";
mail($to, $subject, $message) or die("Failed");

View 12 Replies View Related

IIS Configuration

I'm trying to get a PHP script that sends an email working. I have
modified the php.ini file to include the proper values for SMTP =,
smtp_port=, and sendmail_from=. However, when I try to send mail using
the script, I get 'Failed to connect to mailserver at "localhost" port
25, verify your "SMTP" and "smtp_port" setting in php.ini or use
ini_set() in....". I have an actual server name specified for SMTP=,
but it seems almost as if the server isn't reading the php.ini file.
As a test, I included the ini_set(SMTP, xxxx) and
ini_set(sendmail_from, xxxx) in the php script itself, and the mail
worked. Unfortunately, we have hundredes of scripts, and I don't fancy
the idea of changing them all. Why isn't the setting in php.ini

View 1 Replies View Related

PHP Configuration

I've installed PHP 5 with Apache server on local, and the content of php.ini as follow:

include_path = ".;C:phpincludes"
session.save_path = "C:Temp"
session.cookie_path =
session.use_trans_sid = On
doc_root = "C:Program FilesApache GroupApache2htdocs"
extension_dir = "C:phpext"
mysql.default_port = 3306
mysql.default_host = localhost
mysql.default_user = root
mysqli.default_port = 3306
mysqli.default_host = localhost
mysqli.default_user = root
register_globals = yes

When I navigate to another page with <a href=> the session is working just fine, but if I use javascript to navigate to another page ( window.location / window.navigate / ), the session is terminated. Could somebody please tell me how to configure the php.ini file ( or maybe Apache server ) to navigate by javascript ?

View 1 Replies View Related

GD Configuration

I've tried all the tutorials online concerning the GD configuration and I cannot get it to work no matter what I do. So far I've uncommented the line extension=php_gd2.dll and changed the extensions directory to "C:home_serverphp". I was told I shouldn't have to download the dll because it already comes with my php installation.

View 2 Replies View Related

SEO URL Configuration In MVC

i just wanted to knw how is the SEO URL configured in MVCex:[URL],....goes to my facebook the key word to be stored in database ?and how does the controller recognise that its not a controller but a route to different location[URL],....are controllers..

View 5 Replies View Related

GD - Configuration

does anyone know how to configure GD Library in simple instructions for making bar graphs? please help if you can... im using windows xp  with php apache  macromedia dreamweaver

View 14 Replies View Related

XML-based Configuration

Does anyone know a good way to retrieve data from inside of an XML file and use it for configuration within my PHP apps?

I tried PHPXConfig, and even with caching a serialzed version of the object, using the getData() method (you give it an XPath) makes my application a lot slower.

View 4 Replies View Related

PHP/Apache Configuration

I'm still can't get Apache to restart after changing the httpd config
file. I've upgraded my installation to 5.2. Apache 2.2.3 runs fine without
any PHP additions.

1) I added my PHP directory, C:/PHP5, to my PATH

2) I copied php.ini-recommended to my C:/windows directory and renamed
it php.ini

3) I made the following changes to PHP.ini

doc_root = "c:/inetpub/wwwroot"
extension_dir = "c:/php5/ext"
4) I made the following changes to Httpd.conf
After the last entry in the LoadModule section:

LoadModule php5_module "c:/php5/php5apache.dll"
AddModule mod_php5.c

If I comment out the above two statemens, Apache will start.

In the <IfModule mime_moduleSection, I added

AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

And that's it.

When I restart Apache, I get an error dialog with the message:

The requested operation has failed.

What have I missed or done wrong?

View 6 Replies View Related

PHP Configuration Question (PHP 4.20/IIS 5.0)

I've done some reading about environment variables, and I've found that $DOCUMENT_ROOT, isn't supported via IIS. So, I've come up with this snippet, that effectively *gives* me that variable: PHP Code:

View 1 Replies View Related

Windows Configuration

I have experienced problems getting the PHP 4.0.4pl1 [735Kb] CGI only version to work properly with PWS running on Windows 98. I downloaded the PHP 4.0.4pl1 [3.737Kb] CGI binary plus server API version and got that to operate fine, so far. However, I read that this version is not as stable as the CGI only version.

View 1 Replies View Related Configuration.

I have installed php apache and mysql all otgether not while ago, and i test them and theyr working fine. I also forwarded my domain name to it and everything.

1. when I am typing my it just take mes to the phpmyadmin, without asking me a log in.
2. I have read all about apache and everything and how it can not be secure sometimes and ppl can get to your httdocs. so my question is how can I configure apache or that httpd file so no one else except me can access those directories?

3. and another question is, is there a way to install PERL on apache?

View 14 Replies View Related

Configuration File

What is the best way to do a configuration file? I want it to be easy to
edit and contain a lot of defined values. (But not nessasarily use
"define"). I have seen it as an array before, and have used that, but I
have to do "global $config" for every function that uses it. Is there an
easier way? Should I be doing it some other way? Ideally I would like a C
syntax DEFINE, the only reason I'm not using define() is because I don't
like the way it looks - it makes it a bit more confusing to change.

View 1 Replies View Related

Php Session Configuration

i have a problem on my home computer when working with sessions. sessions start fine and the data in them can be accessed by other scripts that use session_start() fine but, any updates to the data are lost and scripts only ever retrieve the first value assigned to a variable

since discovering this i have tested my code on a web sever and it works, which leads me to belive there is a problem somewhere in my configuration files. i have apache 2.0 and php 4 installed. has anybody come accross this problem before or know the likely cause

View 6 Replies View Related

Web Hosting Configuration Help

I am using a web hosting service for my web site and it is running Apache
1.3.27 with PHP4 however when I try to run some of my PHP code it doesn't
have all the required libraries. Error message:

Warning: Unable to load dynamic library '/usr/lib/php4/' -
/usr/lib/php4/ cannot open shared object file: No such file or
directory in ...

I am developing locally on Windows XP so my question is where can I get a
pre-compiled library and when I get that do I just need to
upload it into the directory shown above? Will that solve my problem?

View 1 Replies View Related

Shell_exec Need Any Configuration?

Anyone can provide me information on how to did the configuration in the unix there to make the shell_exec() can work properly?

View 1 Replies View Related

PHP Server Configuration

I have a problem with my servers PHP configuration that is really begining
to fustrate the heck out of me. I have an intranet resume building
applications I wrote. The application is basically split into interface code
and back end code. How this is done is the front end PHP files will call a
specialized data processing PHP file, which in turn will usually direct the
browser back to the interface file via the header() function (with the
exception of for instance the log in page and a handful of others). The
problem I'm experianceing is that frequently PHP will generate the error:

CGI Error:

The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:

Frequently this error will be generating with you try using the header
function to redirect to a web page that does not exist on the server.
However these pages do indeed exist.

I am running PHP on Windows XP Pro and PHP version 4.3.2, this is my
personal development server. I am running it with IIS 5.1, with Visual
Studio.Net Enterprise Architect edition and the server is configured with
the Microsoft.Net Frame Work version 1.1.

Second question, does anyone know of any good references on meshing PHP and
ASP.Net web services? I was interested in using these technology together
and basically just seeing what I can do.

View 1 Replies View Related

PHP Configuration Troubles

I'm trying to set up PHP on my home PC, which runs XP-Home. I already
have Apache 2.0.54 running. I was going line-by-line through the
install.txt instruction file that came with the download of PHP 5.0.4.
THe process seemed to be going along well until I got to the following:[color=blue][color=green][color=darkred]
Windows NT/200x/XP and IIS 4 or newer

PHP may be installed as a CGI binary, or with the ISAPI module. In
either case, you need to start the Microsoft Management Console (may
appear as 'Internet Services Manager', either in your Windows NT 4.0
Option Pack branch or the Control Panel=>Administrative Tools under
Windows 2000/XP). Then right click on your Web server node (this will
most probably appear as 'Default Web Server'), and select

I'm not seing anything like 'Internet Services Manager' under
Administrative Tools, so I'm unable to proceed. Can anyone give me a
push in the right direction?

View 3 Replies View Related

PHP 4.4.4 Configuration Error

I am the only one who used VI and wrote code in linux, thus somehow I am sys admin until we hire one. I am trying to compile PHP for the first time. Here is where the configure errors out:

Configuring extensions
checking for OpenSSL support... yes
checking for Kerberos support... yes
checking for krb5-config... /usr/kerberos/bin/krb5-config
checking for pkg-config... no
configure: error: Cannot find OpenSSL's <evp.h>

here is the configuration I am attempting to use:
sudo ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --enable-force-cgi-redirect --disable-debug --enable-pic --disable-rpath --enable-inline-optimization --with-bz2 --with-db4=/usr --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-ncurses=shared --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl=/usr/src/openssl-0.9.8d/include/openssl/ --with-png --with-pspell --with-xml --with-expat-dir=/usr --with-dom=shared,/usr --with-dom-xslt=/usr --with-dom-exslt=/usr --with-xmlrpc=shared --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes --with-gd=shared --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-pear=/usr/share/pear --with-imap=shared --with-imap-ssl --with-kerberos --with-ldap=shared --with-mysql=shared,/usr --with-pgsql=shared --with-snmp=shared,/usr --with-snmp=shared --enable-ucd-snmp-hack --with-unixODBC=shared,/usr --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --enable-mbstring=shared --enable-mbstr-enc-trans --enable-mbregex --with-mime-magic=/usr/share/file/magic.mime

here are some locates I ran to try and find the relevant files:
>locate evp.h

>locate pkg-config
<no results returned>

>locate pkgconfig

View 1 Replies View Related

Copyrights 2005-15, All rights reserved