Hello to everybody, i have installed Ubuntu Desktop 8.10 on my laptop at home with ADSL internet connection. What i need to install and how to configure to be able to send email from my laptop via PHP: <?php $to = "[email protected]"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "[email protected]"; $headers = "From: $from"; mail($to,$subject,$message,$headers); ?> I have read that i can do it with postfix, how i will install this and configure to be able to send email via PHP from my laptop at home ? I don't have a domain registered and i don't have an email address on my ISP and i have dynamic IP! I'm a beginer in Linux, so help me pls! Thanks!
The problem is that dynamic IPs are blacklisted, so you won't be able to send emails (unless you set up relaying: http://www.howtoforge.com/postfix_relaying_through_another_mailserver ).