[RESOLVED] Sending mail...
I just searched the forum a bit to see what was the easiest way to send mail. And I ended up with something like this:
PHP Code:
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/plain; charset=iso-8859-1\n";
$headers .= "X-Priority: 3\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Mailer: php\n";
$headers .= "From: \"" . "morro mannen" . "\" <" . "[email protected]" . ">\n";
mail("[email protected]",$mSubject,$mMessage,$headers);
Something that doesn't seem to work for me. Any ideas? Shouldn't I have to write pasword or mail server or something too to make it work?
I found this in my cPanel on my domain, if that is any help.
Quote:
Manual Settings
Mail Server Username: myusername
Incoming Mail Server: mail.noteme.com
Outgoing Mail Server: mail.noteme.com (server requires authentication)
Supported Incoming Mail Protocols: POP3, POP3S (SSL/TLS), IMAP, IMAPS (SSL/TLS)
Supported Outgoing Mail Protocols: SMTP, SMTPS (SSL/TLS)
Thanks in advance
- ØØ -