[PHP] Re: Help with e-mail
Hello, On 01/21/2003 10:13 AM, Dankshit wrote: Is there a way to autenticate an SMTP server in my PHP.ini??? No. In my development site, i need to autenticate a SMTP, but in the PHP.INI does not have an option to autenticate..does anybody has any solution for this?? You may want to try this composing and sending class that has a sub-class for sending via SMTP with authentication suppport. http://www.phpclasses.org/mimemessage If you do not want to change much your program, it comes with a wrapper function named smtp_mail() that you can use in replacement of mail() calls as smtp_mail() emulates mail() completely with the advantage of features like authentication that mail() does not support. In that case you also need this other class for the actual SMTP delivery: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Help with e-mail form with server-side written in php?
you should consider that not everybody has enabled JS. Always double check with php before you add data or send it via mail. Maybe some people just hit the send button without filling in anything. Andy -- http://www.globosapiens.net Global Travellers Network! Chris Hounsell [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I seem to be having an issue with an e-mail form that I have created for registration purposes with the server-side being written in PHP! I've tested the e-mail form using numerous browsers and operating systems including Microsoft, Netscape, Unix, and Linux! Everytime I test the form, it works just fine. I have even had other individuals located in different geographical locations register using my form and it works just fine. However, I do receive totally blank forms from time to time and I have no idea why. Even the javascript that I have written to fill in fields automatically such as a date field and a registration fee field are coming back blank. These are two fields that even the the user can't erase. The form is hosted on a unix server and everytime I test it, it works just fine. I've tested the form on a IIS server and an apache server and it works just fine. I just can't figure out why I get back some blank registration forms. Maybe it has something to do with the user's side! Any help or better direction for my message would be much appreciated! Thanks, Chris Hounsell -- - Chris Hounsell Memorial University Career Fair 2002 Co-ordinator Co-operative Education Services Centre, B1015 Memorial University of Newfoundland Telephone: (709) 737-4825 Fax: (709) 737-8960 E-mail: [EMAIL PROTECTED] Web: www.mun.ca/ccd/careerfair/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Help with e-mail...
Have you got access to your host machine? You can send messages to your local user a then see if they reach destination. Chuck Pup Payne wrote: I have just install a program called Web Calendar. It suppose to be able to send reminders via e-mail but I am not sure if PHP is set up to send e-mail or what is happening. I have turned on debugging and it is showing that there are remembers but it not sending anything. Is there a simple test I can to to test php is talking to sendmail? Thanks, - | Chuck Payne | | Magi Design and Support | | www.magidesign.com| | [EMAIL PROTECTED]| - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Help with e-mail...
I wanted what Rick Emery sent to me... This little example on how to make php talk to sendmail... ?php mail([EMAIL PROTECTED],test subject,This is my test message,From: [EMAIL PROTECTED]\n) ? He little script help show me that php is working with sendmail. Our e-mail been working now for 4 years...just this send_reminder.php that is a part of Web Calendar isn't sending any maul. So because I write the guy that wrote I thought I make sure that there wasn't anything wrong with my php.ini and that php can talk to sendmail. But the book PHP bible example wasn't clear. So again Rick thanks your little example help me and that's want I wanted. Chuck On 4/3/02 4:45 PM, Javier [EMAIL PROTECTED] wrote: So you tried to send a mail to yourself and worked. What do you want to do then? On Wed, Apr 03, 2002 at 04:40:25PM -0500, Chuck PUP Payne wrote: Mail works, I am wanting to see PHP can talk to mail. On 4/3/02 4:38 PM, javier [EMAIL PROTECTED] wrote: Have you got access to your host machine? You can send messages to your local user a then see if they reach destination. Chuck Pup Payne wrote: I have just install a program called Web Calendar. It suppose to be able to send reminders via e-mail but I am not sure if PHP is set up to send e-mail or what is happening. I have turned on debugging and it is showing that there are remembers but it not sending anything. Is there a simple test I can to to test php is talking to sendmail? Thanks, - | Chuck Payne | | Magi Design and Support | | www.magidesign.com| | [EMAIL PROTECTED]| - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Help on e-mail attachments retrieval adn ZIP uncompression.
1) How to retrieve messages from a POP3 mailbox and save only the ZIP files attachments? http://php.net/imap You may find it easier to find an IMAP mail-reading code that can handle attachments in one of the sites linked from http://php.net/links.php and adapt it. 2) How to decompress the ZIP files? http://php.net/gzip *MIGHT* be able to handle ZIP files. If not, find some Un*x utility that does, and use: http://php.net/exec If you are on Windows, you may be in trouble, though... Not sure you'll ever get exec to work. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]