Newbie Question about mail

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
HBAndrew
Forum Newbie
Posts: 9
Joined: Wed Mar 26, 2003 12:23 am
Location: Southampton, UK

Newbie Question about mail

Post by HBAndrew »

hi, iv installed latest of apache, mySQL and PHP, i have a DNS transparent.hopto.org and installed postnuke and phpBB, how do i set up php so i can mail people through phpBB and postnuke

thx
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

What operating system are you using?

Mac
HBAndrew
Forum Newbie
Posts: 9
Joined: Wed Mar 26, 2003 12:23 am
Location: Southampton, UK

Post by HBAndrew »

Windows 2000, when i try to send mail it says No authorisation to carry out operation
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

You need to edit your php.ini file (by default this is in C:\WINNT) and find these lines:

Code: Select all

їmail function]
; For Win32 only.
SMTP = localhost

; For Win32 only.
sendmail_from = me@localhost.com
and edit them. For SMTP you probably will use your ISPs SMTP server, e.g. you could have:

Code: Select all

SMTP = smtp.myisp.com
and for sendmail_from you would use your own e-mail address.

Mac
HBAndrew
Forum Newbie
Posts: 9
Joined: Wed Mar 26, 2003 12:23 am
Location: Southampton, UK

Post by HBAndrew »

i did all that and its still saying No authorisation to carry out operation
HBAndrew
Forum Newbie
Posts: 9
Joined: Wed Mar 26, 2003 12:23 am
Location: Southampton, UK

Post by HBAndrew »

nm i have fixed it, phpBB sends mail but postnuke wont, maybe need to reinstall it and fix some settings, thx for the help :)
Post Reply