problems with mail function

the mail() function

Moderators: macek, egami, gesf

gerhardt
New php-forum User
New php-forum User
Posts: 6
Joined: Wed Jul 16, 2003 10:49 pm

problems with mail function

Postby gerhardt » Thu Jul 31, 2003 1:12 am

I am using this code below.

mail("xxx@t-online.de", "My Subject", "Line 1\nLine 2\nLine 3");

when I start it it always displays this error message:

Warning: Failed to Connect in c:\easyphp\www\ilka1\templates\sendmail.php on line 12

does anyone has an idea what the problem here is?

thanx a lot for you help..

yogi

Joel
New php-forum User
New php-forum User
Posts: 193
Joined: Sat Mar 29, 2003 11:57 pm
Location: Auckland, New Zealand
Contact:

Postby Joel » Thu Jul 31, 2003 1:18 am

Is your mail server configured?

gerhardt
New php-forum User
New php-forum User
Posts: 6
Joined: Wed Jul 16, 2003 10:49 pm

re: problem

Postby gerhardt » Thu Jul 31, 2003 1:44 am

I don't know if i configured it. where can i see it. and how do i configure this kind? THANX
YOGI


Return to “PHP coding => Mail”

Who is online

Users browsing this forum: No registered users and 1 guest