Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Authenticate SMTP account, PHP mail
Old 04-15-2005, 10:21 PM Authenticate SMTP account, PHP mail
Junior Talker

Posts: 1
Trades: 0
Hi, I'm very new to php and so far so good. I am having one problem though with my mail form. Its very simple and thats all it needs to be, but my host now requires that you authenticate your smtp account to prevent spam. Basically my question is... How?

side note: I have searched google and found nothing that I really understand, just snippets of code with the authenticate in it. To top it off I lost my PHP book somehow.

Thanks for the help.
AreS is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-16-2005, 07:07 AM
leavethisplace's Avatar
Ultra Talker

Posts: 297
Trades: 0
PHP does not have to use SMTP, if your host has allowed you to use their mail program, you should simply be able to use the mail() function specified in the PHP Online Manual (better than any book!) using it like this:

mail('myAddress@hotmail.com', 'you got mail!', $message, $headers);
__________________
A lie gets halfway around the world before the truth has a chance to get its pants on. - Sir Winston Churchill

Please visit my sites:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
leavethisplace is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Authenticate SMTP account, PHP mail
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09852 seconds with 12 queries