Connecting Tech Pros Worldwide Forums | Help | Site Map

sending email using fsockopen() error!!!!

Newbie
 
Join Date: Jun 2008
Location: nablus-palestine
Posts: 14
#1: Jul 6 '08
hi every body

i have this problem
while i trying to send email using php
i found a function
<?php
mail();
?>

but does not work with me since i use smtp server with user name and password

i searched in the web to find another method
i found it ,this time
using fsockopen
with telnet command to send email
i use wamp server
this method is work well with me "using localhost"
but when i upload my web site on the my host
it does not work

where is the problem
plz help me :$

thank you in advance

pbmods's Avatar
Site Moderator
 
Join Date: Apr 2007
Location: Texas
Posts: 5,435
#2: Jul 6 '08

re: sending email using fsockopen() error!!!!


Heya, Haytham.

Try using SwiftMailer (http://www.swiftmailer.org/) or PHPMailer (http://phpmailer.codeworxtech.com/).
Newbie
 
Join Date: Jun 2008
Location: nablus-palestine
Posts: 14
#3: Jul 7 '08

re: sending email using fsockopen() error!!!!


pbmods thank u

i will try it
but as i said i wrote my code to send
using fsockopen(); etc....
but does not work when i upload it to my host :?

please if you know the error tell me
or any other body that know
Reply