Jump to content


Photo

Sending an email without using Mail()


  • Please log in to reply
2 replies to this topic

#1 cha0ticfire

cha0ticfire
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 03 March 2006 - 02:03 AM

Is it possible? My server doesn't have mail() activated for what they all "Security Reasons".
I'd like to be able for a user to send an email to me from the website, but I haven't been able to figure out a way to do this without using the mail() function.

Can anybody help?

#2 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 03 March 2006 - 02:12 AM

Switch hosts?

You can try to write directy to port 25 using the [a href=\"http://us2.php.net/sockets\" target=\"_blank\"]socket functions[/a], but you would have to generate all of the correct headers. If you want to do this, I suggest you read and understand [a href=\"http://www.ietf.org/rfc/rfc2821.txt\" target=\"_blank\"]RFC 2821[/a] "Simple Mail Transfer Protocol".

Ken

#3 cha0ticfire

cha0ticfire
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 03 March 2006 - 02:13 AM

:-\ Hmmm. Alright
Thank you :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users