PDA

View Full Version : What does "uncomment out " mean?


cjwysong
01-15-2007, 01:16 PM
What does uncomment out mean?

I am installing Drupal. When a user registers they currently obtain an email with their password and user name. The email comes from my bluehostusername@box4.bluehost.com.

Some instructions I have found state to "uncomment out" and make appropriate changes. I don't know much and am teaching myself as I go.

Again, what does uncomment out mean?

------------------------------------------------------
I want to make a change in the PHP.ini file as follows:

FROM:
[mail function]
;SMTP = localhost ;
;sendmail_from = me@localhost.com ;
sendmail_path = /usr/sbin/sendmail -t -i ;

TO:
[mail function]
;SMTP = localhost ;
;sendmail_from = an_Existing_Email_Address@My_URL_ON_BLUEHOST.com ;
sendmail_path = /usr/sbin/sendmail -t -i ;

According to what I read, that should make my PHP generated emails come from something else besides my username.

I looked on google, I looked in the forums, I fear this must be a fairly beginner level question as it isn't defined anywhere I could locate. :-(

Looking forward to your answers.

THANK YOU,
Chris:confused:

hondaworkshop
01-15-2007, 01:23 PM
By uncomment out, it means to delete the ';' character at the beginning of the line in your php.ini file that says
;sendmail_from = me@localhost.com ;

The ';' in the php.ini file means "this is a comment, please ignore the rest of this line"

Removing it from the beginning of the line will make the parameter take effect.

Additionally, you should change the me@localhost.com to whatever email address you want people to receive the emails from. For example, if you want people to get emails from 'webmaster@cjwysong.com' then change the line to this:

sendmail_from = webmaster@cjwysong.com ;

cjwysong
01-15-2007, 01:37 PM
Thank you! :-)

I'll get there... It is my 2007 goal to become more proficient in all this stuff

:-)

hondaworkshop
01-15-2007, 01:59 PM
I was asking the same questions just a short time ago. Its been fun learning all this stuff. :)