|
-
Feb 3rd, 2010, 09:55 AM
#1
Thread Starter
Fanatic Member
send email
how to send email using PHP Code?
-
Feb 3rd, 2010, 09:57 AM
#2
-
Feb 3rd, 2010, 10:29 AM
#3
Re: send email
This is well-detailed on PHP.net's mail() page.
-
Feb 3rd, 2010, 11:10 AM
#4
Fanatic Member
Re: send email
you need a smtp server, you could use an email client like mozilla thunderbird and use hotmail for example for your email sender... i gave up in this project because i couldn't get it working so i just bought a http host and used the mail function...
-
Feb 4th, 2010, 09:45 AM
#5
Re: send email
Thunderbird alone is not an SMTP server (mail transfer agent / MTA), it is a mail user agent (MUA).
MTA's can be downloaded for both Windows (via IIS) and Linux (via Sendmail). The purpose of the MTA is to resolve the mail transfer (MX) record in the domain part of each recipients address and relay the mail to recipients MTA.
-
Feb 4th, 2010, 01:56 PM
#6
Fanatic Member
Re: send email
true but it can be used to send mails and i couldn't get the smtp connection configured...
-
Feb 4th, 2010, 05:50 PM
#7
Re: send email
 Originally Posted by Justa Lol
you need a smtp server, you could use an email client like mozilla thunderbird and use hotmail for example for your email sender... i gave up in this project because i couldn't get it working so i just bought a http host and used the mail function...
I don't know what that has to do with the original question but the original poster asked for code to send mail using php not via an email client.
Edit:
The only code you need to use is the code SambaNeko linked to as well as a hosting services which can run php.
Last edited by Nightwalker83; Feb 4th, 2010 at 06:08 PM.
Reason: Adding more!
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Feb 8th, 2010, 05:25 AM
#8
Re: send email
@Justa
I think what you're referring to is setting up a HTML form to use the users default email client in which to mail the form fields, am I right?
If I am right you seriously need to reconsider how you email forms.
Like VisualAd said, an email client is not an SMTP server.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|