|
|
|
|
![]() ![]() |
Jan 11 2007, 10:05 AM
Post
#1
|
|
|
Premium Member Group: [HOSTED] Posts: 391 Joined: 16-February 06 From: Kolkata, India Member No.: 11,322 |
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?
|
|
|
|
Jan 11 2007, 11:06 AM
Post
#2
|
|
|
PESTICIDAL MANIAC Group: Members Posts: 626 Joined: 1-September 04 From: Auckland, New Zealand Member No.: 27 |
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 |
|
|
|
Jan 16 2007, 10:42 AM
Post
#3
|
|
|
Premium Member Group: [HOSTED] Posts: 391 Joined: 16-February 06 From: Kolkata, India Member No.: 11,322 |
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. |
|
|
|
Jun 11 2007, 01:58 PM
Post
#4
|
|
|
Member [ Level 1 ] Group: Members Posts: 31 Joined: 11-June 07 Member No.: 22,553 |
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??
|
|
|
|
Oct 11 2007, 05:50 PM
Post
#5
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
Which scripting language is better? perl and python both are good or I have to work on ruby too
-sunny |
|
|
|
Dec 25 2007, 07:55 AM
Post
#6
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
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 |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 10th October 2008 - 08:02 PM |