![]() |
2 problems: Send Email(Localhost) & Generate image
Hello,
I have 2 questions about: 1) I can't send Email from localhost! why? Error: Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in 2) I can't generate CAPTCHA image on page! why? Thanks, regards. |
The first one implies that you don't have a mail server configured on your localhost. Find the SMTP address of your ISP, and use that. That's what I do. Then from within the php.ini file you may change the SMTP line to that of your ISP's.
Moreover, welcome to the community! :-) |
Indeed. The first, as Adam already explained tells you to input a smtp.isp.suffix.
The second one is a PHP module to be activated. CAPTCHA images are used by imagelibs which you can active through the module list. Which one, differs at each version (XAMP, WAMP). |
Tnx for reply.
Can i send Email with this: SMTP = "smtp.gmail.com" smtp_port = 465 and what is file mod_info.so/mod_cache.so/mod_status.so/ or... and how can i use that? Thansk ;). |
You'll be lucky if you can use Gmail's. They have a lot of security -- such as encryption, but I am sure if you can work out how to supply it with what it wants, you'd be able to use it. Otherwise I would pick a SMTP server that's not so secure, such as your ISP's. They will let you use theirs.
|
And about:
File mod_info.so/mod_cache.so/mod_status.so/...? |
I find this for Email: XPertMailer - Advanced PHP Mail Engine
;) |
| All times are GMT. The time now is 12:17 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0