Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> PHP: Need Help Sending Mail Using SMTP
turbopowerdmaxst...
post Jan 11 2007, 10:05 AM
Post #1


Premium Member
Group Icon

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?
Go to the top of the page
 
+Quote Post
mastercomputers
post Jan 11 2007, 11:06 AM
Post #2


PESTICIDAL MANIAC
Group Icon

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
Go to the top of the page
 
+Quote Post
turbopowerdmaxst...
post Jan 16 2007, 10:42 AM
Post #3


Premium Member
Group Icon

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.
Go to the top of the page
 
+Quote Post
xiangqin
post Jun 11 2007, 01:58 PM
Post #4


Member [ Level 1 ]
Group Icon

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??
Go to the top of the page
 
+Quote Post
iGuest
post Oct 11 2007, 05:50 PM
Post #5


Newbie [ Level 1 ]
Group Icon

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
Go to the top of the page
 
+Quote Post
iGuest
post Dec 25 2007, 07:55 AM
Post #6


Newbie [ Level 1 ]
Group Icon

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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Sending message through Lan(7)
  2. THE BULK MAIL(6)
  3. Webmail On My Site(4)
  4. Get A G-mail Account!(68)
  5. Servers For Gmail ?(6)
  6. E-mail Marketing :: Some Fundamentals(5)
  7. Send Mail Through Outlook Express(7)
  8. Mail Is No Longer Working?(10)
  9. Changed Domain Name, My Web-mail Gives A 550 Error(1)
  10. How To Send Email Using VB (using SMTP) ?(8)
  11. Failed Sending Email :: PHP ::(8)
  12. Using The Php Mail() Function For Images Or Attachments(3)
  13. Php Send Mail Through Smtp(8)
  14. PHP Mail Sending Is Not Working After cPanel Upgradation!(22)
  15. SMTP Access?(3)
  1. Gmail As Smtp(12)
  2. Yahoo Mail With Yahoo Chat(7)
  3. Sending Mail In Vb.net(4)
  4. Mail(3)
  5. How Do You Set Up A Domain E-Mail Address?(6)
  6. Sending E-mail Alert Through Sms(3)
  7. Filtering Out Unwanted Junk Mail Using Regular Expression.(0)
  8. Who Uses A Yahoo E-mail(8)
  9. Htl Mail(0)
  10. Preventing Spam When Using Php's Mail Function(6)
  11. Mail Servers?(3)
  12. E-mail - Firefox(6)
  13. Outlook Express: Older Sent Mail Disappears(1)


 



- Lo-Fi Version Time is now: 10th October 2008 - 08:02 PM