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.co m as spec by the mail() func. > email goes to the remote mail.yourcomputersfixed.co m > finds info account > puts the mail in the mail box.
Then:
I open thunderbird > access the mail info@yourcomputersfixed.co m
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-deskt op.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.
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.co
Then:
I open thunderbird > access the mail info@yourcomputersfixed.co
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-deskt
How do I resolve this issue.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.