| | While the mail() function of php is all bout simplicity, it lacks the otherwise necessary flexibility. How do I send an E-Mail using php through SMTP? |
|
|
Well you can connect directly to the SMTP server using sockets to connect to it and sending the commands you need to do.
Do you know what commands must be sent? If not just search for "telnet smtp" since this should give you the basic commands to get it working, you could have a go at reading the RFC on SMTP, which is RFC821 (there is a newer one too) which hopefully you'll understand more on SMTP and what you can and can't do. What flexibility do you need from mail(), because it might be simple to just add that flexibility to it. Cheers, MC
Thanx for the help, M^C.
I used the PHPMailer class from soreceforge. What I actually needed to do was send an E-Mail from an account other than 'nobody@astahost.com'. Following the instructions of the PHPMailer installation, all turned out to be really nice and smooth. I had to implement this feature to get feedbacks for my site at http://ntek.astahost.com.
hmmm... i'm also planning of having feedbacks for my site to directly send it to my yahoo mail account.. do i need to configure the smtp of a certain host? or is it automatic??
Which scripting language is better? perl and python both are good or I have to work on ruby too
-sunny
How do I send an E-Mail using php through SMTP?
PHP: Need Help Sending Mail Using SMTP How to send email via smtp server to another email id -dipankar
Recent Queries:-
Keywords : sending, mail, smtp
(8) Can anyone here tell me how to send mail through SMTP server with php /mellow.gif" (4) I just coded this e-mail list, it works well for entering data into database, but if user leaves Can't find a decent tutorial! (6) I read the one mail() tutorial that was posted in the tutorial section and to my horror found that Possibility of sending a newsletter (12) Task : To send an email to a list of email addresses stored in a database Premise : Page is check for correct address and syntax (2) Hey , this tutorial will tell you a very simple way to check if email addresses entered are with the (2) Repeat post. Credits reduced by 5 days. Learn to USE THE SEARCH BUTTON before you make such posts. (8) Just sends all form data to a specified email. Does anyone know a free script that does this?.... (4) I'm trying to use the mail() function in a script. But it doesnt work. It keeps returning false. (4) I am programming on a web site's contact form page, How can I mail the filled in information of Looking for sending, mail, smtp
|
![]() PHP: Need Help Sending Mail Using SMTP |