cha0ticfire Posted March 3, 2006 Share Posted March 3, 2006 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? Quote Link to comment https://forums.phpfreaks.com/topic/3973-sending-an-email-without-using-mail/ Share on other sites More sharing options...
kenrbnsn Posted March 3, 2006 Share Posted March 3, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/3973-sending-an-email-without-using-mail/#findComment-13791 Share on other sites More sharing options...
cha0ticfire Posted March 3, 2006 Author Share Posted March 3, 2006 :-\ Hmmm. AlrightThank you :) Quote Link to comment https://forums.phpfreaks.com/topic/3973-sending-an-email-without-using-mail/#findComment-13792 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.