Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
| Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 15th, 2003, 02:33 PM
pi pi is offline
Registered User
 
Join Date: Dec 2003
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much, Rich!

I am still waiting for my ISP to reply to me. Hopefully they will do so soon, or I'll be asking you guys about good place for web hosting with php and working mail()...

I have looked at the disable_functions the value is "no value" and sendmail_path = "/usr/sbin/sendmail -t -i". Isn't it just the default? I have also, installed php and apache on my own flaky windows to develope the script. When I call mail() here (where it isn't set up since I haven't botherd with it), php complains about SMPT not being found (or something to that effect). On my ISP it gives me no warning what so ever.

About PEAR, I have come across a method in the manual that would seem to send mail. I am prepared to delve into it, if this would solve my problem. I wonder though if it uses a different way of sending mail compared to mail(). If my ISP has some permissions set in such a way that my mail() call is disallowed, would the same happen if I use PEAR?
Appreciate everyones help with this!
pi

 
Old December 15th, 2003, 02:53 PM
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

the PEAR mail class is just a convenience wrapper class to make sending HTML mail and attachments easier. The actual mail sending is still done with the mail() function, so if that doesn't work, the PEAR Mail class won't work either.



Take care,

Nik
http://www.bigaction.org/
 
Old December 15th, 2003, 03:31 PM
richard.york's Avatar
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Quote:
quote:
the PEAR mail class is just a convenience wrapper class to make sending HTML mail and attachments easier. The actual mail sending is still done with the mail() function, so if that doesn't work, the PEAR Mail class won't work either.
Well Richard Heyes' MIME mail class offers an SMTP alternative built into the class. Which is available at http://pear.php.net/package/Mail_Mime .

Its hard to say whether that method would work though, if they don't allow mail, they may not allow sockets, which is what the SMTP portion of Heyes' MIME Mail class relies upon.

: )
Rich

:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::
 
Old December 15th, 2003, 10:13 PM
pi pi is offline
Registered User
 
Join Date: Dec 2003
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks to everybody for comments and suggestions. My ISP just notified me that they fixed the problem. I have tested it and it does work now, what a relief!
Thanks again for everyone's help!
pi





Similar Threads
Thread Thread Starter Forum Replies Last Post
Send mail and attachments with PHP mail function Lofa Beginning PHP 1 June 2nd, 2008 03:24 PM
problems sending mail with java mail gandacuboy J2EE 2 December 20th, 2006 03:05 PM
Sending e-mail to different mail box! Calibus Classic ASP Databases 4 September 3rd, 2004 05:48 PM
Sending both text mail and HTML mail - CDONTS madhukp Classic ASP Basics 1 October 8th, 2003 01:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.