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
smtpserver =mail.mydomainname.com
smpt_port=25
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.
View 2 Replies (Posted: 06-11-2007, 08:52 AM)
Sponsored Links:
Related Forum Messages:
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 php.ini 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. ; "http://php.net/smtp" SMTP = localhost ; "http://php.net/smtp-port" 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...
Posted: Dec 30 10 at 2:59
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.
Posted: July 17th, 2005 03:55 AM
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. <?php $mail_To="someone@gmail.com"; $headers = ""; $headers .= "From: livetv@muscle-tube.com [code]...
Posted: Aug 19 10 at 20:13
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 smtp.gmail.com 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.]"
Posted: Apr 16 at 6:55
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.
Posted: Mar 18 10 at 17:03
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 [Code]...
Posted: Aug 13 10 at 14:23
View 3 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->IsSMTP(); $mail->SMTPAuth = true; // enable SMTP authentication $mail->SMTPSecure = "ssl"; // sets the prefix to the servier $mail->Host = "smtp.gmail.com"; // sets GMAIL as the SMTP server [Code]...
Posted: Jun 1 at 23:59
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)){ [code]....
Posted: Mar 12 09 at 21:38
View 3 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 working?
Posted: November 29th, 2005 05:05 PM
View 1 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
Posted: March 31, 2007, 05:34:14 PM
View 14 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" extension=php_mysql.dll extension=php_mysqli.dll 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 / window.open ), the session is terminated. Could somebody please tell me how to configure the php.ini file ( or maybe Apache server ) to navigate by javascript ?
Posted: 12-19-2005, 02:39 AM
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.
Posted: 08-23-2005, 12:35 PM
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 page.is 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..
Posted: Jul 13, 2009, 05:35
View 5 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.
Posted: December 21st, 2002, 09:49 PM
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?
Posted: January 10th, 2007 12:55 PM
View 6 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.
Posted: March 28th, 2001, 02:05 PM
View 1 Replies!
View Related
Httpd.inc 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 domain.com/phpMyAdmin 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?
Posted: June 4th, 2003, 03:59 AM
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.
Posted: July 17th, 2005 01:14 AM
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
Posted: December 17th, 2002, 10:22 AM
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/readline.so' - /usr/lib/php4/readline.so: 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 readline.so library and when I get that do I just need to upload it into the directory shown above? Will that solve my problem?
Posted: July 17th, 2005 04:36 AM
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.
Posted: July 16th, 2005 11:26 PM
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] >>>[/color][/color][/color] 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 'Properties'. <<< 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?
Posted: October 12th, 2005 12:15 AM
View 3 Replies!
View Related
Mail Configuration
i've install my php not on the a real domain on net, but local, so i'm using simply "http://localhost/" , and i'm using apache . for the activation link for the registered users, i found out the codes, in some part i have : / send e-mail to ... $to=$email; // Your subject $subject="Your confirmation link here"; // From $header="from: your name <your email>"; // Your message $message="Your Comfirmation link "; $message.="Click on this link to activate your account "; $message.="http://www.yourweb.com/confirm.php?passkey=$confirm_code"; // send email $sentmail = mail($to,$subject,$message,$header); i wanted to know should't i configure anything in my php.ini for sending e-mails ? i hvn't done any changes in that file, last changes was main changes to make it work ... so what should i do to still use my localhost ? (i'm just training and studing php) can i send mail with my "http://localhost/" ?
Posted: November 20, 2007, 01:37:29 PM
View 1 Replies!
View Related
Php Configuration For Email
What is the php configuration for email? It works on the server but sending email on my testing server doesn't work. Here's what in my php.ini file- [mail function] ; For Win32 only. SMTP smtp@tiscali.co.uk smtp_port = 25 ; For Win32 only. sendmail_from = gary@garyt.co.uk
Posted: October 16, 2007, 02:16:55 PM
View 9 Replies!
View Related
Configuration Of Sessions In Php.ini
well i asked in another thread why my sessions don't work. now i know. i didn;t configure them correctly in the php.ini file. now the question. i changed session.save_path = "/tmp" to session.save_path = "D:/tmp" and created D:/tmp folder. and it saves the session there. is this the correct way to do it. becouse the sessions work now but is the right way.
Posted: October 10, 2007, 03:02:26 PM
View 4 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 /usr/include/openssl/evp.h /usr/src/openssl-0.9.8d/include/openssl/evp.h /usr/src/openssl-0.9.8d/crypto/evp/evp.h >locate pkg-config <no results returned> >locate pkgconfig /usr/lib/pkgconfig /usr/lib/pkgconfig/devmapper-event.pc /usr/lib/pkgconfig/devmapper.pc /usr/lib64/pkgconfig /usr/lib64/pkgconfig/OpenIPMIposix.pc /usr/lib64/pkgconfig/OpenIPMIpthread.pc /usr/lib64/pkgconfig/NetworkManager.pc /usr/lib64/pkgconfig/OpenIPMIcmdlang.pc /usr/lib64/pkgconfig/OpenIPMIui.pc /usr/lib64/pkgconfig/devmapper-event.pc /usr/lib64/pkgconfig/devmapper.pc /usr/lib64/pkgconfig/OpenIPMIutils.pc /usr/lib64/pkgconfig/libnfsidmap.pc /usr/lib64/pkgconfig/OpenIPMI.pc /usr/lib64/pkgconfig/OpenIPMIglib.pc /usr/lib64/pkgconfig/librpcsecgss.pc /usr/lib64/pkgconfig/openssl.pc
Posted: 12-07-2006, 02:08 PM
View 1 Replies!
View Related
Configuration Files
i use parse_ini_file, why can i not write in my config file: [settings] file_types = array("this","that"); ...i also not you cant do: time = date(formatted how i like it); My old config.ini, accessed by scripts through require_once(), had arrays of options. Should I stick with this system, or is there something i should know about this parse_ini_file()?
Posted: 4:36 pm on Nov. 11, 2004
View 1 Replies!
View Related
Remote Php.ini Configuration
I am trying to replicate one particular site and am having a problem which is either permissions related or include-path related. When I look at the phpinfo() for the original site and the copied site, they are virtually identical, but one main difference is the original site has a different include_path. But when I access the server's etc directory and vi the php.ini file, the include_path doesn;t match either the copied or original. Its just commented out I checked the httpd.include file and it references the conf folder in the original directory as if there are more include commands there but I can not access it or change the persmissions or anything. Is there another file specific to each website to update include paths? Am I making any sense?
Posted: 03-11-2007, 08:21 PM
View 14 Replies!
View Related
Session Configuration In Php.ini
Could some one please help me check my session configuration below? I am attempting to manually setup PHP to run on Win2003 with IIS7 & using HTTPS certificate. When I try to login (https disabled or enabled) I don't seem to have any cookies in my IE Temporary Files, but the session does start - they are write fine to the session.save_path ;session.save_path = "/tmp" session.save_path="C:phpsession" session.save_handler = files session.use_cookies = 1 ;session.cookie_secure = Off ;session.use_only_cookies = 1 session.name = SID session.auto_start = Off session.cookie_lifetime = 0 ;session.cookie_path = / session.cookie_path = "C:TEMP" session.cookie_domain = session.cookie_httponly = session.serialize_handler = php session.gc_probability = 1 session.gc_divisor = 1000 session.gc_maxlifetime = 1440 session.bug_compat_42 = 0 session.bug_compat_warn = 1 session.referer_check = session.entropy_length = 0 session.entropy_file = ;session.entropy_length = 16 ;session.entropy_file = /dev/urandom session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 0
Posted: 05-24-2007, 10:35 AM
View 1 Replies!
View Related
Imap Dll And Php.ini Configuration
I am running PHP on a Windows 2000 box running IIS. I want to configure my server to usethe imap dll. Is it possible to simply copy the dll into the php directory and then enable it within the php.ini file? I am more used to Apache setups so I am not 100& clear how PHP works on IIS. My php.ini is located in the following location: c:/winnt But there is also a PHP folders : c:/php I have placed the imap.dll in the php folder and uncommented the line in the php.ini file. Is there anything else I need to do or am I over simplyfying things here? I noticed there is also a line in the php.ini where you can specify the module extensions directory, do I need to do this and if so what would it be inmy case. I did try "c:/php" but this seemed to cause php not to start correctly.
Posted: 12-15-2005, 03:13 PM
View 1 Replies!
View Related
|