owyeah, for some reason sendmail can't be executed as a normal users, it is in /usr/sbin/ and it require root privileges, now i chmodded /usr/sbin/sendmail but this doesn't work it returns this if i manually enter /usr/sbin/sendmail

I think i'm doeing something wrong because I can't get it to work on ubuntu either, i manually installed sendmail by using apt-get and when i run sendmail as normal user get respond, not mucht because only on the next line no text appears (not even sven@sven-desktop:~$) and it shows a block coming up and down and this goes on till i close the terminal

it doesn't load, the browser is endlessly loading the page but it never shows up. when i remove the line mail('svenvandescheur@gmail.com','ik','ik'); it appears in one sec so the problem lies in the mail section (again) how do i fix this?