Thank you for your reply and care, I like to ask basic things. I have my php source scripts in the folder phptest2, so I can put the extension_dir C:/AppServ/www/phptest2/php-openssl.dll?
I have the WAMP downloaded in a folder, but not exec. I am afraid to change, do I need that?
What is a...
thread 434-1653000
Please forgive me that I am new in php, I try to install the php-openssl.dll for SMTP sending out email, I think I mixed up and confused, though I read the php manual
http://php.net/manual/en/install.windows.extensions.php
and do the following
In your php_info() page please...
May I ask you to take a look, if I am going to the right place.
To install the openssl, I go to fr2.php.net/openssl . .
then I go to
http://sourceforge.net/projects/gnuwin32/files/openssl/0.9.8h-1/openssl-0.9.8h-1-setup.exe/download
Description Download Size Last change Md5sum
? Complete...
Thank you for your reply, I am afraid to open the Openssl file and make changes, they give a warning. Where can I read the manual on OpenSSL, how to make sure that the dll is accessible to php and windows?
I find 2 locations of php_openssl.dll (as my last message (1)/(2)
in 2 Appserv folders...
Do I install the OpenSSL correctly? Is it in the right directory?
I do a search on my hard drive, looking for files of "php_openssl.dll, I find 2 locations,
(1)C:\Documents and Settings\Venus\my documents\appserv\Php5\ext
(2)C:\AppServ\Php5\ext
Now about the version of phpmailer, I have it a...
How do I know I am using the latest version of phpmailer? After
I run the above code, I have these . . .
retrieved mailer classinstantiated php mailerset phpmailer to SMTPadded address to mail objectabout to send messageSMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "220...
Here is my php.ini, I may not set it right, Thanks
[mail function]
; For Win32 only.
SMTP = smtp.netvigator.com
smtp_port = 25
; For Win32 only.
sendmail_from = c238@gmail.com
;extension=php_mbstring.dll
;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll...
Yes, I put the ini_set('display_errors', true); error_reporting(E_ALL); I run the script, the same thing, exactly the same as before, time about 70 sec, no log output seen. My notebook computer use the XP window. AppServ V. 2.5.8 for window, Apache
web server V.2.2.4, PHP script language...
Thank you for your reply, I tried, the result is same as before.
I can see the first 5 logger messages, but not the ones after
the if(!$mail->Send()):
The run time is long, about 70 sec. I put an exit before the if(!$mail->Send(), it takes 2 sec, I checked my gmail and yahoo acct no mail...
Thank you and sorry to border you again, I checked my php.ini
the display_errors is on, error_reporting to E_ALL, to restart
the webserver by running Apache Restart. I simplify my script.
<?php
include("phpmailer/class.phpmailer.php");
$mail = new PHPMailer();
$mail->Host = 'smtp.gmail.com'...
Thank you jpadie, I made the changes and see some improvement. I do not see the "SMTP Error: Could not connect to SMTP host.", but
it takes a long time to run (about 90 sec.) I do NOT see the echo
message "mail error" or "message has been sent", no Error info.
I check my Gmail account, no...
thread434-1521422
May I ask your help, my notebook computer as server with XP window, do I need other software to send email, by setting
the php.ini smtp=local host smtp port = 25. After running pgm,
I have the follwing
SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.