Link to home
Start Free TrialLog in
Avatar of sorush
sorush

asked on

dirctions please sendmail setup

Hi, I have an apache and php server setup . Ubuntu. I want to use the email() function in php to send emails from a form to my self. So I assume I need to setup sendmail.
Here is what I think the situation looks like:

My server / computer hosting php / apache / sendmail
From my browser i go to www.sorushnazari.com/quickContact.php
I send the content of the form.
I get a congrats message.
Then I assume that:
broser send message to mail() function > my php server asks sendmail to send the email > sendmail sends the email to info@yourcomputersfixed.com as spec by the mail() func. > email goes to the remote mail.yourcomputersfixed.com > finds info account > puts the mail in the mail box.

Then:

I open thunderbird > access the mail info@yourcomputersfixed.com

But I don't see the mail.

The main error I get is:

p780SBOs012929: p780SCOs012931: DSN: User unknown,
sm-mta.
then after that I get the message.

p780SCOs012931: to=<www-data@sorush2-desktop.local>, delay=00:00:01, xdelay=00:00:01, mailer=local, pri=30000, dsn=2.0.0, stat=Sent

How do I resolve this issue.
ASKER CERTIFIED SOLUTION
Avatar of Dave Howe
Dave Howe
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial