Hi, I''m trying to learn how to send emails to registered users with php mail function. Been online a lot and getting confused. I was wondering if anyone could explain how the set up is done and what is needed to accomplish this task. Any input on this topic would be appreciated.
Thankyou.
phpDave
0
Junior Poster
Recommended Answers
Jump to PostWhat code are you using at the moment and what errors (if any) does it return?
Jump to PostI'm not sure why you are sending from localhost. That may be the problem.
I was having a problem with email a while back. Can't remember the error message.
This code seems to work.
Anyway, you might give it a try.
$headers = "MIME-Version: …
Jump to PostHi Dave,
Just read your post on passwords. I think that answer to your problem was correct. You don't have a mail server on your localhost. Or it's not set up correctly. Can you test this on an external server?
Larry
All 11 Replies
Will Gresham
81
Master Poster
phpDave
0
Junior Poster
Larry_b
2
Newbie Poster
Larry_b
2
Newbie Poster
phpDave
0
Junior Poster
Larry_b
2
Newbie Poster
diskhub
0
Newbie Poster
Larry_b
2
Newbie Poster
diskhub
0
Newbie Poster
Larry_b
2
Newbie Poster
phpDave
0
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.