Click to See Complete Forum and Search --> : Mail requirements
what are the requirements for the mail function to work on a server. i have a iis4 with php405 installed, no mail client, no mail server, nothing.
do i need a client on there? what kind? iexpress ok? outlook?
ame12
06-27-2001, 06:21 AM
You need access to an SMTP server. Otherwise, it won't work. Your ISP should give you access to one, like if you use AT&T World-net they give you mailhost.worldnet.att.net to use. It won't work unless you're in their network, in most cases.
You can set up your SMTP server and default return address, like hcvb@test.com, in the php.ini file.
RW
===========================================
http://badblue.com
Small footprint P2P web server for Windows,
Share files, get PHP up and running fast...
===========================================
that would work nicely but..
what if i dont have access to an smtp server.. is there a way to send it to an microsoft exchange server that doesnt support smtp? or do i need a forwarder or something.
ok, so smtp doesnt work. i loaded the imap module and i get as far as new mail appears in my draft box. it wont send from there though.. i use imap_append but get the feeling i need something more like imap_newmail which doesnt exist?? how does this work!?
I need Imap module!!!
How to install them in PHP4 and W2000?
Where can I find this module?
Thanks in advance
HC van Brug wrote:
-------------------------------
ok, so smtp doesnt work. i loaded the imap module and i get as far as new mail appears in my draft box. it wont send from there though.. i use imap_append but get the feeling i need something more like imap_newmail which doesnt exist?? how does this work!?
it's included in the latest php version. just uncomment the extension in php.ini
No! My release seems not to be precompiled --with imap. I've downloaded it from www.php.net. Where can I find one version that works with imap?
Thanks in advance.
odd.. try downloading 4.0.6 and configure with --with-imap option. should work
...but I don't know how to configure php with --with-imap option!!!
Please help me to uderstand something!!!
this is the windows forum.. if you have windows forum, just download the windows binaries and follow the readme. only thing you have to do is run iis, add php to iis, copy php.ini to windows dir and uncomment extension=php_imap.dll from it.
if you have linux or apache version, unpack php in a dir, run 'configure --with-imap' from that dir and ready.
should work :)
I tryed version 4.0.7, 4.0.6, 4.0.4 of php for windows, all versions with extension php_imap.dll uncommented, but my e-mail client doesn't work anyway.
I don't know why... I supposed imap didn't work correctly, but if you say the only thing to do is to uncomment the relative extension line in php.ini...
I don't really know what I have to do to let it work!
Thanks
you dont have to have an email client on your server. the imap stuff connects to the server by itself and can create new mail in your draft folders (see php help, imap_append()).
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.