hno Posted January 31, 2009 Share Posted January 31, 2009 Hi For sending mail,does the web server should support SMTP or not?If so ,what setting i should adjust? tnx Quote Link to comment https://forums.phpfreaks.com/topic/143277-qustion-about-sending-mail/ Share on other sites More sharing options...
DeanWhitehouse Posted January 31, 2009 Share Posted January 31, 2009 Yes, and you shouldn't need to change anything, i take it you are setting up your own server? Quote Link to comment https://forums.phpfreaks.com/topic/143277-qustion-about-sending-mail/#findComment-751404 Share on other sites More sharing options...
PFMaBiSmAd Posted January 31, 2009 Share Posted January 31, 2009 Web servers are not responsible for sending email. You need an email server to send email, unless you are only sending it to yourself, in which case you can send it directly to your email address by using SMTP authentication. What exactly are you trying to accomplish? Quote Link to comment https://forums.phpfreaks.com/topic/143277-qustion-about-sending-mail/#findComment-751414 Share on other sites More sharing options...
hno Posted February 1, 2009 Author Share Posted February 1, 2009 Yes, and you shouldn't need to change anything, i take it you are setting up your own server? No ,i want to add a possibility to the users of my site that they can send emaisl to me .How can i do that? Quote Link to comment https://forums.phpfreaks.com/topic/143277-qustion-about-sending-mail/#findComment-752127 Share on other sites More sharing options...
hno Posted February 1, 2009 Author Share Posted February 1, 2009 Web servers are not responsible for sending email. You need an email server to send email, unless you are only sending it to yourself, in which case you can send it directly to your email address by using SMTP authentication. What exactly are you trying to accomplish? ,i want to add a possibility to the users of my site that they can send emaisl to me .How can i do that? I use gmail for my emails.What code i should use to add this possibility to users to send emails? Quote Link to comment https://forums.phpfreaks.com/topic/143277-qustion-about-sending-mail/#findComment-752128 Share on other sites More sharing options...
jeger003 Posted February 1, 2009 Share Posted February 1, 2009 why not just use a "contact us" form? Quote Link to comment https://forums.phpfreaks.com/topic/143277-qustion-about-sending-mail/#findComment-752129 Share on other sites More sharing options...
revraz Posted February 1, 2009 Share Posted February 1, 2009 Which requires a mail server still. Are you on a shared host? Do they support the mail() function? If so, the it should be no problem. why not just use a "contact us" form? Quote Link to comment https://forums.phpfreaks.com/topic/143277-qustion-about-sending-mail/#findComment-752147 Share on other sites More sharing options...
hno Posted February 3, 2009 Author Share Posted February 3, 2009 Which requires a mail server still. Are you on a shared host? Do they support the mail() function? If so, the it should be no problem. why not just use a "contact us" form? No,it doesn't suppport mail() function.Is it possible to use gmail server to send mail from the script?How can i do that? Quote Link to comment https://forums.phpfreaks.com/topic/143277-qustion-about-sending-mail/#findComment-753318 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.