Find Jobs
Hire Freelancers

php sendmail error

$5-10 USD

Completed
Posted about 17 years ago

$5-10 USD

Paid on delivery
I am getting this error: Warning: mail() [[login to view URL]]: "sendmail_from" not set in [login to view URL] or custom "From:" header missing in C:\hshome\athink\[login to view URL]\[login to view URL] on line 45 Warning: mail() [[login to view URL]]: "sendmail_from" not set in [login to view URL] or custom "From:" header missing in C:\hshome\athink\[login to view URL]\[login to view URL] on line 46 Warning: mail() [[login to view URL]]: "sendmail_from" not set in [login to view URL] or custom "From:" header missing in C:\hshome\athink\[login to view URL]\[login to view URL] on line 47 Here's the basic idea of my code: $subject="[login to view URL] Web Contact from " . $_POST['name']; $message=$_POST['name'] . " has contacted Athletes Ink.\r\nContact Reason: " . $_POST['contact-reason'] . "\r\nTheir name is " . $_POST['name'] . ".\r\n Their phone number is " . $_POST['phone'] . ".\r\nTheir email address is " . $_POST['email-address'] . ".\r\n\r\nHere is their message:\r\n\r\n" . $_POST['details']; // Mail the information to the three addresses mail("put-my-email-here", $subject, $message); I need the errors to go away, and the email to be sent. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform win2k, php
Project ID: 2930652

About the project

1 proposal
Remote project
Active 17 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$7 USD in 2 days
5.0 (46 reviews)
5.6
5.6

About the client

Flag of UNITED STATES
United States
5.0
44
Member since Sep 20, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.