How to send a message if the mail() deactivated (pop3?)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
br4d
Forum Newbie
Posts: 2
Joined: Fri Jul 26, 2002 6:58 pm

How to send a message if the mail() deactivated (pop3?)

Post by br4d »

Hi,
I'm currently writing an application hosted at a 'free' webhost. They support php, but have deactivated all mail-functions. But I do want to be able to send some mails using my mail-account that accept pop3.

Can I do this?
Do I need pop3-library installed on the webhost?

Thanks
Bernadino Rad
User avatar
haagen
Forum Commoner
Posts: 79
Joined: Thu Jul 11, 2002 3:57 pm
Location: Sweden, Lund

Post by haagen »

There are some classes that let you mail trough a diffrent smtp host than you php.ini says you should. It opens a socket to a smtp server an sends the mail. Quite nice.

The problem is that you need to have a relaying smtp server (that will relay from your webserver). This might be a problem.

But if you only want to mail to your own email adress then it will work. Set the smtp server to use to you isp incomming smtp server and it will relay for you.

Check som classes collection site (search for smtp).
br4d
Forum Newbie
Posts: 2
Joined: Fri Jul 26, 2002 6:58 pm

Post by br4d »

thanks,
I'll try to search some of SMTP-Classes you've mentioned.
Post Reply