PHP Mail() Function Does Not Work
I just re-installed PHP4, Apache, and MySQL and now the "mail" function in PHP will not work. Is there a way to correct this? Is there some configuration value in Apache or PHP I must change?
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Mail Function Not Work
the php mail function not work on my server! when I run this function not show any error too. for example I run this code: <?php echo "ok"; $to = 'myemail@mydomain.com'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: test@domainname.com' . " " . 'Reply-To:test@test@domainname.com' . " " . 'X-Mailer: PHP/' . phpversion(); if(mail($to, $subject, $message, $headers)){ echo "sent"; }else{ echo "notsent"; } ?>
View Replies!
View Related
PHP Mail() Function Not Working
I have just changed servers and uploaded a mail() script which was working on my previous config but does not work on the new server config. What is stopping the emails from being delivered, is there something new in WHM that I need to do? Here are my WHM and cPanel details: WHM 11.11.0 cPanel 11.15.0-R18264 REDHAT 4 i686 on standard - WHM X v3.1.0
View Replies!
View Related
PHP Mail() Function Stopped Working
I have a dedicated that suddenly stop php mail() function to work. Very strange because if I run php script with mail() function as root on command line all working fine. But If I run php script with mail() function in my browser so not work. Seems that only ROOT can run mail() function.
View Replies!
View Related
PHP Mail() Function Not Working With Lighttpd
I recently started using lighttpd + with PHP using Fast-CGI on a server hosting 14 blogs powered by WordPress, the server works great and this change reduced server load in about 50% which is nice for us, considering some of our blogs have a very high visitor traffic. Our only problem so far is that since we switched to lighttpd the PHP's mail() function is just not working. I have compiled and re-compiled PHP and Lighttpd without any effects. I have a test site still working with Apache and PHP scripts can send mail without problems. I've searched forums and Google for some kind of answer but none whatsoever maybe someone can give me pointers on how to solve this. Thanks a lot!! Server details: Lighttpd version: 1.4.15 PHP version: 4.4.4 Kernel: 2.6.9-42.0.3.ELsmp Server has cPanel/WHM installed PHP configure options: --prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --with-curl --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap=/usr/local/imap-2004g --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --enable-magic-quotes --with-mysqli --with-mysql=/usr --with-openssl --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --with-xmlrpc --with-zlib --with-kerberos --with-imap-ssl --enable-fastcgi --enable-force-redirect
View Replies!
View Related
Setting Up PHP Mail() Function On New Server
how to set up the mail () function in my PHP.ini on a Linux server. Is there a generic path that I need to use in order to allow the mail function to work in the scripts? We do have a mail server set up, the address of which being "mail.companyname.com" ... do I need to insert that into the ini file somwhere instead?
View Replies!
View Related
Configure Webserver So That The Php Scripts To Be Able To Use The Mail() Function
I just purchased a vps from rapidswitch, installed lamp, webmin, etc. All is working fine, with one exception. I can't send mail via mail() function. I have set the MX so that my email addresses are handled by google for domains so i can send and receive mails without problems. What i cant do, is for example to install a cms and make it send emails for the new registered users, etc. I have installed postfix via yum, and i've tried to configure it.. but i kind of give up after a few hours of trying. Someone could point me to the right direction on how to configure postfix for just this ? to be able to send mails via php. I don't care if it's postfix, qmail, etc.
View Replies!
View Related
[cPanel] Function Mail(); And Fowarders E-mail - Not Working
I have problem: 1. Function mail(); not working 2. osCommerce e-mail error: Code: Gid 32157 is not permitted to relay mail, or has directly called /usr/sbin/exim instead of /usr/sbin/sendmail. 3. Fowarders working only on internal accounts e-mail fowarder@mydomain.com --> email@mydomain.com - working fowarder@mydomain.com --> my-emiail123@mail.pl - not working This is VPS cPanel (OpenVZ) on my dedicated server.
View Replies!
View Related
Disable Mail Function
I am starting to webhosting company in it I have included a package will be free and add supported and also I want to disable some functions like mail() ..........I mean I want to disable SMTP services anyone have idea how can I do that.
View Replies!
View Related
Server Slow After Using Mail Function
I used the mail function in php to send mails to my 25000 members in a loop.. After using it my server has gone very slow.. Load has increased a lot from 2 to around 20.. Major load is taken by sql and then httpd (both have increased).. I had restarted mysql and httpd.. even reinstalled apache but no help..
View Replies!
View Related
How Much Can Php's Mail Function Really Handle
I have mixed feelings on the mail() function in php. I've seen it send out amazing numbers of emails and yet I keep reading that it is prone to problems. I'm wondering if someone can put an approximation on what you could/would send out in say 60 seconds. I know that there are tonnes of variables, so i'll try and remove a few: - server hardware is typical of a cpanel/WHM shared hosting environment - running apache/linux - email is say 20kb HTML format - mail is sent in a php script loop, one by one; alternatively, mail() could be called in clusters of x emails - like send 5 emails at once - there are 400 recipients
View Replies!
View Related
Howto Convert Ini_set Function In Code To Php.ini Setting
I have a website that was running fine for a month or two until my host recently changed some settings on the server, and now it shows a bunch of errors. I contacted the host and they said > "To avoid the errors, please do not use disabled function. If you need such functionality, you can have your own php.ini on your root http folder containing only necessary option" Since I'm not a programer, I have no idea what they're talking about. So, I asked them how to do that, they're reply of course was> "Please consult with the script writer on how to convert ini_set function in your code to php.ini seting. As the script is not encrypted, you can do it with commenting all ini_set calls and write a substitute on php.ini (Create php.ini file in webroot folder)." I tried to contact the developer, but it appears he has gone MIA! So, now I am left with no clue how to fix the website, so I turn to you guys! The website is [url]. You can see the errors in the header, but I'll post them here as well>> "Warning: ini_set() has been disabled for security reasons in /home/buymydom/public_html/includes/global.php on line 3 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/buymydom/public_html/includes/global.php:3) in /home/buymydom/public_html/includes/global.php on line 32 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/buymydom/public_html/includes/global.php:3) in /home/buymydom/public_html/includes/global.php on line 32" My question is, How do I convert ini_set function in my code to php.ini?
View Replies!
View Related
CPanel 11, New Mail Filters Dont Work
I had made a post earlier about trying to get an exim ACL or filter to work with cpanel 10 to deny all messages with a 10 or above spam rating while forwarding 5-10 scored messages to a spambox, but I decided to tryout upgrading to CPanel 11 which adds a built-in solution. I've had no luck using WHM's Exim Configuration editor with "Reject mail at SMTP time if the spam score from spamassassin is greater than 10.0." Checked under ACL's and Filters.
View Replies!
View Related
Lighttpd Not Work Well With Php
Lighttpd works well with static file. But for php, it's totally not good for me I just install lighttpd and php. By [url] Now It takes about 10 seconds for the server to response. Here is a part of config file ############ Options you really have to take care of #################### server.max-keep-alive-requests = 4 server.max-keep-alive-idle = 4 server.max-read-idle = 60 server.max-write-idle = 1024 server.max-fds = 8192 php.ini using the default one Here is the link to it [url] And only about 200 connections. the load average is only 0.02. When I check the error log 2007-11-08 12:38:46: (server.c.1253) NOTE: a request for /view_video.php?viewkey=f8e13f14b405e038deb6&page=&viewtype=&category= timed out after writing 13068 bytes. We waited 1024 seconds. If this a problem increase server.max-write-idle 2007-11-08 12:40:07: (server.c.1253) NOTE: a request for /view_video.php?viewkey=b9530df88f7f002e78ea timed out after writing 13068 bytes. We waited 1024 seconds. If this a problem increase server.max-write-idle
View Replies!
View Related
PHP Doesn't Work With Apache2
I've had two (or three) versions installed on my Fedora linux server. It seems I've had something installed when I just rented server, after that I've tried to upgrade by building PHP from source. PHP, installed with yum (before upgrading) had 5.1.6 version. When I ran phpinfo(), browser displayed this version. But when I ran "php -v" in command line, it displayed 5.2.5 version. I've got this error when server booted up: Quote: [20-Nov-2007 03:27:30] PHP Warning: PHP Startup: json: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20050922, debug=0, thread-safety=0 These options need to match in Unknown on line 0 So, I've removed old version(s): Quote: rpm -qa | grep php rpm -e *package* yum remove php Then I've downloaded latest version of PHP 5.2.5 and installed it. I've copied configuration list that yum uses for older version: Quote: ./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-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-libdir=lib64 --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --without-pear --with-bz2 --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png --with-pspell --with-expat-dir=/usr --with-pcre-regex=/usr --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars --enable-trans-sid --enable-yp --enable-wddx --with-kerberos --enable-ucd-snmp-hack --with-unixODBC=shared,/usr --enable-memory-limit --enable-shmop --enable-calendar --enable-dbx --enable-dio --with-mime-magic=/usr/share/file/magic.mime --without-sqlite --with-libxml-dir=/usr --with-xml --with-apxs2=/usr/sbin/apxs --without-mysql --without-gd --without-odbc --disable-dom --disable-dba --without-unixODBC --disable-pdo --disable-xmlreader --disable-xmlreader --disable-xmlwriter make clean make make install After that PHP doesn't work with Apache2. Whe I try to load any .php page, I get PHP source code as simple text instead of result of executed PHP code. When I install PHP with yum again, it works. I wonder how can I install latest PHP from source? How to fix the problem with Apache2?
View Replies!
View Related
Php-cgi Isn't Work With Mod_rewrite
I have been using apache and php-cgi and it works well together but when I tried to use mod_rewrite it stopped working and I got "Internal Server Error" result. Apache error log showed "FastCGI: incomplete headers (0 bytes) received from server" I think that mod_rewrite rules are ok because when I refer to some HTML file then it all works. Apache 2.2.14 and php 5.2.11
View Replies!
View Related
PHP Files Not Work On My Server
I have a dedicated server, on this server I have only 2 website. I created an account before and that account work correctly. now I created a new account and when I trying to run a simple php file show me "Internal Server Error". I can view html files and I haven't .htaccess file . Server Inofrmation: CentOS , cPanel , Apache 2, PHP 5
View Replies!
View Related
Configuring PHP To Work With MySql
I'm using Windows XP and installed Apache, PHP 5 and MySql 5. They were all working before, but recently I had to format my hard drive. Fortunately, I had an image of my computer created from before but MySql was not installed when that image was created. After deploying that image, everything seems to be working fine. The server is running and PHP scripts are executing as well. But I can't seem to have MySql to work. I've followed many tutorials online, but have no luck. I have edited the php.ini file to point to the correct directory that holds the extentions or dll's. I also enabled the following: extension=php_mbstring.dll extension=php_mysqli.dll extension=php_mysql.dll I already tested to see if MySql was correctly installed by using the command line client and it seems to be installed. I was able to log in and see the default databases created. But when I run the following php script <? phpinfo() ?> I don't see the MySql section anywhere and that's why I'm assuming that PHP is not currently working with MySql for me. However, interestingly, I do see the "mbstring" section, which I assume should show only if MySql is working with PHP. But nothing else related to MySql info shows up. I've attached part of the screen shot if it helps you.
View Replies!
View Related
PHP Work With Noexec Partition As Cgi And Others Cant
I have webserver running php with apache suexec and my /home partition is mounted with noexec in fstab. My httpd.conf includes line like Action application/x-httpd-php5.cgi /cgi-sys/php5.cgi AddHandler application/x-httpd-php5.cgi .php everything works perfectly. However I tried same configuration for python and perl and it did not work. But it worked if I mounted /home without noexec. What makes php so special that it can work with noexec partitons as cgi while others cant? I would really like to know as I would like to run perl and python with noexec partitons. Please dont discuss alternatives to noexec flag. This would be off topic.
View Replies!
View Related
PHP - Zend IonCube Wont Work
I'm running Plesk 8.4.0 and for whatever reason apparently IonCube didn't come pre installed or wasn't working so I tried installing it which is just getting the .so files and adding it to the php.ini that didn't work so I tried Zend the installer said it was complete but again no go. So I have this for an error [root@liquidwind ~]# php -v Failed loading /usr/lib/php/modules/php_ioncube_loader_lin_5.1.so: /usr/lib/php/modules/php_ioncube_loader_lin_5.1.so: undefined symbol: zend_unmangle_property_name_ex Failed loading /usr/lib/php/modules/php_ioncube_loader_lin_5.1.so: /usr/lib/php/modules/php_ioncube_loader_lin_5.1.so: undefined symbol: zend_unmangle_property_name_ex Failed loading /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so: cannot restore segment prot after reloc: Permission denied PHP 5.2.5 (cli) (built: Jan 19 2008 10:30:38) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies [root@liquidwind ~]#
View Replies!
View Related
Php 5.2.1 Dont Work As Httpd Module
I cant make php 5.2.1 work as httpd 2.2.4 and 2.2.3 module. When loaded with php it makes httpd dont start at all without any errors in log even on debug level! However when I place php 5.2.0 as module it immediately starts working ok. I've tested this with a standart ./configure without any parameters for both php and httpd, and httpd is always not working when it tries to load php 5.2.1 as module. Did someone run php 5.2.1 with httpd >2.2.3 succesfully?
View Replies!
View Related
Cannot Send Mail Through VPS SMTP Server. The Usual Fixes Didn't Work.
Over the past week, the SMTP server on my VPS has been hanging whenever I try to send an email from my computer. It'll eventually work again, but now it's been down for the count for about 18 hours. Tech support keeps on recommending minor fxes and issuing standard responses like "try disanbling your firewall" and the like, but nothing works. I have already told them this: * I know _you_ can probably send POP/SMTP mail through my server. I can't. * Mozilla Thunderbird will connect and send mail through other POP/SMTP servers.. Not my server here. * I can connect to _receive_ email, but I can't send it. * My ISP (SBC/AT&T ADSL) does not block outgoing mail to port 25 on my account; I had the block removed. * I've got an exim server running on port 26, too. Doesn't make a difference. * I tried connecting from another ISP (my work PC). Still can't send mail. * I tried using IP addresses instead of my domain name. Doesn't work. * I didn't change any account names, passwords or anything like that. * I tried other email clients. Can't send mail with them, either. * The exim queue has very few messages in it. Clearing the queue didn't work. * I disabled firewalls. Didn't help. Besides, I was able to connect to other mail servers - just not my VPS here. * There are no typos in any of the account or general configuration settings in my client. Nothing changed. One day I could send mail, now I'm having problems. I keep saying this, and keep attaching entried from exim_mainlog with error messages like this PROVING that I can't send mail: 2007-02-01 08:26:00 H=adsl***** [*****]:1294 I=[*****]:25 incomplete transaction (connection lost) from for *****@gmail.com 2007-02-01 08:26:00 unexpected disconnection while reading SMTP command from adsl***** [*****]:1294 I=[*****]:25 2007-02-01 08:26:17 SMTP connection from [*****]:1344 I=[*****]:25 (TCP/IP connection count = 1) 2007-02-01 08:29:34 H=adsl***** [*****]:1344 I=[*****]:25 incomplete transaction (connection lost) from for *****@gmail.com 2007-02-01 08:29:34 unexpected disconnection while reading SMTP command from adsl***** [*****]:1344 I=[*****]:25 Any ideas? I think tech support at my end has given up; it's been hours since I last heard from them, and that was just to say that they updated everything to the current version, and disable the firewall. (Again!) Didn't work. So, before I pack my bags and find another VPS host, what should I do? Having outgoing SMTP email is a MUST; not having it is a deal-breaker.
View Replies!
View Related
FreeBSD With Nginx: PHP Sto To Work Every 6-10h
I have install FreeBSD and i use Nginx for run my website on this webserver. All working good and the server running from 1/2month.. Today when i visits my site i have see Nginx Gateway Error 502.. and from shell i run top command and all processor are using 0% of cpu but use the normal ram.. all is stopped.. but i don't know why and how happen.. Any people have the same error? I think i do create a monitor script and when appen just reboot the server (i have solve this problem rebooting the server each 502 error)
View Replies!
View Related
How Do I Make My PHP Form Script Work On My Fasthost Windows Dedicated Server
We have a Fasthosts Dedicated Windows Server and I now need to run a PHP script to enable us to use a online enquiry form. I have contact Fasthosts and the are not able to advise how to enable/use these scripts as it falls outside the support package. Does anyone know how to enable or make it work in the Matrix Control? The error i get is: The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. Please try the following: * Contact the Web site administrator if you believe this directory should allow execute access. HTTP Error 403.1 - Forbidden: Execute access is denied. Internet Information Services (IIS) Technical Information (for support personnel) * Go to Microsoft Product Support Services and perform a title search for the words HTTP and 403. * Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Configuring ISAPI Extensions, Configuring CGI Applications, Securing Your Site with Web Site Permissions, and About Custom Error Messages. * In the IIS Software Development Kit (SDK) or at the MSDN Online Library, search for topics titled Developing ISAPI Extensions, ISAPI and CGI, and Debugging ISAPI Extensions and Filters.
View Replies!
View Related
PHP Mail Not Being Delivered
A client has moved his site to a new server. No mail is being delivered from the web server. I'm assuming a mail package needs to be installed on the server. The PHP code is fine and worked on the previous server. I'm a noob when it comes to server management. What needs to be installed on the server so that the mail() function works?
View Replies!
View Related
PHP Mail() Exploit
I have been having trouble with my server lately sending out a lot of emails and I thought I had tracked it down to people taking advantage of some mailing lists which I took care of. What I ran into today is I have a business where I send out emails using a php script in our shopping cart. Well I got a lot of failure emails back that caught my attention. They have about 200 random email listings that are not in my database saying why they can't be delivered and then a copy of the actual newsletter that I just sent today. So is it possible that some where something is injecting this BCC field into the php mail()? If so, is there something that I can do to find this script? Box is set to poplock 20min, smtp auth on, firewall has been up for years, chkrootkit is clean.
View Replies!
View Related
SMTP/php Mail
I'm having an issue with php sending mail on my server...its not working! I have a windows 2000 server running IIS 5 along with PHP. Now I know my scripts in PHP are correct, but they aren't sending out mail. I cannot receive them anywhere. Is there something I have to configure in the PHP.ini file? Is SMTP setup by IIS5 or do I need to do anything?
View Replies!
View Related
Emailing Through SMTP, Not PHP Mail()
PHP manual says: Quote: Note: It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient. I have a VPS and cPanel. How can I get the SMTP host, user, pass and port?
View Replies!
View Related
Qmail, Php Mail , Hotmail
I have a vps with a site has phpbb2. Before one month I migrated to another vps host. In the old vps, the sending notfications such as reply new topic ( watch ), e-mail activations to new members notifications of the private messages were working very fine and each memeber which has valid e-mail will receiev these notifications from my forum. The old vps using sendmail. But the new one using qmail and it is will configured and the e-mail notifications are recieved which means that it is working except the ones who use hotmail accounts begin not recieve anything, the others e-mails are recieved well. The files are the same, excpet the old uses sendmail, the new vps uses qmail. After many days of searching how to solve this I decided to contact the support team. They replied to me that they should do to overcome hotmail receive email problem, reverse PTR record needs to be added and to add SPF records under my domain's DNS zone. They did and they told me to wait 24 hours, I waited for 4 days and it did not work. I went back to them and again they look closely to my qmail configurations and it is fine and working and also they made an hotmail account to test and send e-mail form my mail server and it had been accepted which means that my domain and my new IP is not blocked by hotmail. So their is nothing wrong excpet that email notifications from my phpbb it still won't go to members who have hotmail. Very strange if the hotmail hates php mail scripts like phpbb why before in the old vps was like, and now suddenly hates.
View Replies!
View Related
Not Able To Send Mail From PHP Form
We have windows 2003 with Mail-Enable mail server. We have PHP 4 and PHP 5 on the server too. From one of the PHP mail sending script we are not able to send the mails. currently we cannot see the logs for mail sending from PHP form in the mail-enable logs. Also when we trytelnet domain.com 25 it give the correct result. there is no connectivity between the php and mail-enable on the server. But mails are working fine from the webmail, but they are not working from the php. how to enable the logs for php mailing sending in mail logs so that we can see it. Also please tell us how we can configure PHP and mail-enable both together so that mails will work fine from PHP script.
View Replies!
View Related
Web Host Block Php Mail... Alternatives?
I send out almost 50 emails a day from a PHP program on my web site. My web host wrote an email complaining to me. Should I: a) take their advice (and if so, do I need an SMTP server and how do I get one set up?) b) change web hosts? Here is the email from them: Hi there, Thank you for contacting us. Please note that the script is being abused via a web browser to send out mail. Please refrain to use the PHP mail() function as it is deprecated and vulnerable to abuse. We could possibly suggest that you take a look at using SwiftMailer which is well documented and supported. We have commented out all of the mail() function calls on your site.
View Replies!
View Related
PHP (Mail) Marked As Spam Yahoo/Msn
i have a issue on my WHM/Cpanel Linux Server. I have hosted few vbulletin and IPB forums. Problem is that, when someone REGISTERS the CONFIRMATION email is sent to JUNK/SPAM in Hotmail and Yahoo email boxes. I have noted that The Confirmation emails sent from many other servers are NOT MARKED as spam by Yahoo and Hotmail email accounts. But the mails sent from My servers are marked as SPAM by default. I have pasted the headers below: Here are headers Mails sent from this server works fine. Received-SPF: pass (google.com: domain of webmaster@vbulletin.org designates 209.62.16.134 as permitted sender) client-ip=209.62.16.134; Authentication-Results: mx.google.com; spf=pass (google.com: domain of webmaster@vbulletin.org designates 209.62.16.134 as permitted sender) smtp.mail=webmaster@vbulletin.org Mails sent from this server are sent to SPAM folder by default: Received-SPF: neutral (google.com: 66.90.101.249 is neither permitted nor denied by domain of zahidon_4u@yahoo.com) client-ip=66.90.101.249; Authentication-Results: mx.google.com; spf=neutral (google.com: 66.90.101.249 is neither permitted nor denied by domain of zahidon_4u@yahoo.com) smtp.mail=zahidon_4u@yahoo.com One thing i am sure is there is something that needs to be fixed in WHM. Some option but i am not sure of that.
View Replies!
View Related
Change Default Sender Address Using Php Mail() / Sendmail
I'm wondering if anyone else has experience with this, or if it's something easy that I'm overlooking. I am on a VPS service (CentOS Linux) and I want my php mail function emails to send from a specified address. I've already manipulated the headers, so the emails do appear to come from the specified addres, but on mobile devices it comes up as nobody@server1.mydomain.com format. I would like this to read something like no-reply@mydomain.com know which configuration files can change this default address?
View Replies!
View Related
Direct Admin: Php Mail() Only Sends Email To Certain Domains
I am currently setting up my server, and are experiencing some problems. Some of the mails sendt with the php mail() func, ends up in the mail queue in DA, and I get the following error log in DA: 2009-06-04 20:36:02 Received from <> R=1MCHnG-0005uQ-9v U=mail P=local S=1344 T="Mail delivery failed: returning message to sender" 2009-06-04 20:36:02 routing failed for admin@vmnd001.local <admin@munnbind.net> F=<>: Unrouteable address 2009-06-04 20:36:02 routing failed for admin@vmnd001.local <admin@munnbind.net> F=<>: Unrouteable address *** Frozen (delivery error message) This only happens with some email domains though. If I set the recipient to my yahoo mail, it works as a sharm, but when I set my other email (<<removed>>) as recipient, i get the error log above.
View Replies!
View Related
Disable Function
It possible to disable the disable function for all user expect one account for running few application i need shell_exec, passthru, exec these so for other account it possible to disable it?
View Replies!
View Related
Function Checking
How can figure out which functions are active on my server? I have root access and the server is Linux. I want to know wheather the function "fsockopen" is open or not.
View Replies!
View Related
Function : Curl_init()
Fatal error: Call to undefined function: curl_init() in /home/user/public_html/news/include/function.php on line 1526 how to fix this.?? thanks NB: My server info Centos apache1 my php -v give : Code: php -v PHP 4.4.7 (cli) (built: Jul 27 2007 18:31:31) Copyright (c) 1997-2007 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with the ionCube PHP Loader v3.1.31, Copyright (c) 2002-2007, by ionCube Ltd., and with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies with Suhosin v0.9.20, Copyright (c) 2002-2006, by Hardened-PHP Project with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
View Replies!
View Related
Function.file-get-contents
I got this warning message from a script I was working on to read XML feeds. Warning: file_get_contents(url) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:Apache2.2htdocs est5.php on line 8 but when i run the url itself, it works fine. i already set allow_url_fopen = On
View Replies!
View Related
Some Ajax Function Not Working
I got PHP working. But some of the Ajax functions it not working. For example: in wordpress admin, i can only use HTML mode to start a new post. I cant switch to VISUAL mode. And it was working before though. What option do i need to compile PHP with to make it work? Right now i have: Quote: './configure' '--prefix=/opt/lsws/lsphp4' '--with-litespeed' '--with-mysql' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib'
View Replies!
View Related
Function.include Error
Ive searched google and this forum for hours and have not found any solution to this below error on a site of mine. I am using php 5.2 Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/comosabe/public_html/footer.php on line 5
View Replies!
View Related
|