Smtp Settings - PHP.ini does not seem to listen.

free web hosting
Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Web Design

Smtp Settings - PHP.ini does not seem to listen.

mrdee
I have been trying to set my SMTP server so I can test out scripts in which sending email is involved.
As I mentioned in another topic, i am using EasyPHP 1.8, a combined package of Apache server, PHP 4 and MySQL.
When executing a script on my local machine, a script that normally works online tells me I have a 530 error and I need to authenticate.
So, I looked things up in the PHP manual where I found to go to the php.ini file and find [mail function], and underneath that, to set your SMTP server to the one of your own ISP.
Furthermore, it told me to set sendmail_from to the email address you want to send from.
I did all that, but after restarting the Apache server, and even after re-booting the machine, i still get the same error, and when I look in phpinfo(), my SMTP server still appears at localhost, while my email address still appears as root@localhost.
Yet, in the php.ini file, the values are retained as the ones I set them to.
Does anyone know why this is happening?

BTW I use EasyPHP in order to avoid having to upload all the time and to be able to test scripts and do exercises on my own machine.

Thanks in advance for any help.

 

 

 


Reply

jlhaslip
You will need to run a phpinfo() to find out the exact path to your ini file.
If easyphp is like WAMP ad XAMPP, there are several places where they stash spare copies and sample ini files, so do the phpinfo(),
(I'll post some code for you in a minute), and travel the path to find the right one.

results for the php.ini are the 7th line down in the phpinfo()

Put this code in a file in your server path, like htdocs folder, and browse to it.
CODE
<?php
phpinfo();
?>

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. "there was an error sending your message: authentication failure " - 377.55 hr back. (1)
  2. easyphp php.ini activate smtp - 826.53 hr back. (2)
Similar Topics

Keywords : smtp, settings, php, ini, listen,

  1. Anywhere Fm
    upload all the music and listen from anywhere (0)
  2. On Line Proxies!
    Bypass your limited settings... (11)
    Hey, I found one working online proxy that will be useful for everyone those internet settings are
    limited, like the ones who are at school, university or some more educational places. Go to:
    www.canhide.info. I checked it today, it works perfect. Some people assert that it can be used to
    download files from rapidshare server, I mean you do not need to wait for a long time, to download
    the file itself.....
  3. Ch Customer. - Need Help W/ Php/mysql Settings. System() Passthru() Mysqldump
    (1)
    I need the following for some scripts I'm working on. 1. system() to be enabled 2. passthru() to
    be enabled. 3. path to mysqldump 4. path to mysql Can someone please help me? Thanks, Patrick....
  4. Smtp Authentication Error [resolved]
    Can not send (3)
    I can not send or receive any mail from my site, www.thecajunchef.com . I get this message:
    QUOTE There was an error sending your message: authentication failure Could someone please
    let me know about this. Thanks.....
  5. Let's Listen To A Hawthorne Heights Album And Sob... Slit My Wrists And Black My Eyes =]
    This effin awsome party i went to. (0)
    Well, the party I went to last night was AWSOME! We had sooooooooooo much fun =]] We even
    tied Kyle to a chair and put make up on him /xd.gif" style="vertical-align:middle" emoid=":XD:"
    border="0" alt="xd.gif" /> Ahhhh good times, gooooood times... here Are some pics.....
  6. When Mountains Speak, Wise Men Listen
    Rising Son (’And then panic gripped his voice as he moaned "Oh, no (2)
    John Harlin II, John Harlin III - Rising Son - A remarkable journey through a difficult patch of
    life! QUOTE My father used to tell Mom that she would make a pretty widow, as she wore
    black well. It infuriated her, as did his bragging about close calls. He told her that again the
    winter he died. So she wore to the funeral the very dress that had prompted his comment. It was one
    she had bought to stuff in a backpack: It didn't take up much space, it could be washed in a
    stream, and when they went to dinner during expeditions in the Alps, it would not look as ....
  7. How To Reset Internet Explorer 7.0 Settings (ries)
    (1)
    How to Reset Internet Explorer 7.0 Settings (RIES) If you experience problems with Internet
    Explorer 7.0 and you want to back Internet Explorer 7.0 to its first-run state, you can use the RIES
    to reset Internet Explorer 7.0 Settings. To do this follow below steps: Click on Tools menu, select
    Internet Options, click on Advanced tab, and finally click on Reset button to Reset Internet
    Explorer Settings This feature resets bellow setting to their "first-run" states: search
    providers browsing history ActiveX controls appearance settings browser's home page form da....
  8. Smtp Mail Issue
    (2)
    Hi ! I trying to setup Joomla! on qupis. everything working like a charm but not mail
    /sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> After pushing a
    "send" button I receive massage "Thanks you for you mail!" and that's it! No mail never
    reaches recipients, no mailer daemon message - absolutely nothing happens. I wasn't sure at
    first is that Joomla! or Qupis issue so I set up my Thunderbird for qupis mail account. And
    guess what? Exactly the same. Letter is landing on the "Sent" folder and nobody exept me ha....
  9. Whats Music Type Of Music Do You Listen To?
    Post what type of music you listen to. (5)
    What type of music do you listen to? I listen to Metal and Punk. What about you?....
  10. New Twist On An Old Backdoor Trojan
    Suspect this trojan infects or changes BIOS settings (2)
    Seems, there is a variant of backdoor.Sdbot family of worms and IRC backdoor Trojans that is
    disguised as Microsoft Security Adviser. This is quite nasty because it infects system files and is
    very difficult to remove. Trend Micro has a nice online tool called House Call but this trojan
    survived that so you have to look elsewhere to remove it. No telling what the triggers are but I
    simply removed the files and the registry keys pointing to them and now I can't even get into my
    BIOS. Search for msscan.exe if you have it then find RegRun on the net and they claim it r....
  11. Trap17 Has Smtp?
    Can we run PHP scripts to send e-mail? (3)
    Hi folks! I tried to add a flash form that sends e-mails and it didn´t work with trap17 server,
    do u guys have any guess why not? Note. I´ve used this script in other servers for my clients and
    it worked OK. Thanks!....
  12. Send Emails Without Smtp
    How to send emails from your website without SMTP (10)
    Hi everyone, It has never been easier to send email from a your web site that which does not
    support SMTP (simple mail transfer protocol) yet. I made some search and I found defferent stuff,
    and at last I chose a function that allow you to do so without the need for SMTP server take this
    example and try it "http://www.unys.netfast.org/downloads/email.zip" we will work together and make
    things works right.....
  13. Is It Possible To Run Two Copies Of Firefox On Different Settings?
    (7)
    Hi everyone, this is hard to explain..Basically i use firefox for browsing and i like the way ive
    got it set up, but now im ging into web development more i need the development addons for FF. The
    problem is i dont want to have millions of addons on my normal FF browser as it gets clogged up in
    the toolbars etc and would annoy me. So i thought i would get another download of FF and use that
    and add all the usefull Dev addons i could find, the problem is both FF exe's use the same
    settings, probably from the same registry entry, if i clear history in one, it gets clea....
  14. Trap17 Ftp Settings
    There is a mistake in the trap17 FTP server address (3)
    After you are approved for free host account you must activate by going to a link sent in an email.
    On the confirmation page that appears after the activation script is finished you will see all sorts
    of data including your web URL and how to access control panel etc. .. At the bottom of the page for
    those who would rather configure an FTP program like Dreamweaver or CuteFTP you will see the FTP
    server address listed as: ftp.projectorange.trap17.com.com This is wrong and should read:
    ftp.projectorange.trap17.com Do not use passive ftp Host directory is optional (set....
  15. I Made These With Sony Acid Pro
    hehe listen to it and RATE it (10)
    i made these 2 songs with sony ACID pro, please rate them:
    http://www.youtube.com/watch?v=v_QaFAg8kbk and: http://www.youtube.com/watch?v=v_QaFAg8kbk ....
  16. Is There A Freebie For? Smtp Hosts?
    Quick question. (2)
    Well my free forums are giving me trouble. phpBB 2. I always get the debug error, the solution is to
    use a smtp host! Well my stuff is all hosted on my-php.net. I can\'t use these free
    smtp programs used for redirection. Well I was wondering if anyone knows of any free online smtp
    host. One where I can sign up and use a server name like freesmtp.mail.com and use a username.
    Thanks for reading. If anyone needs anymore explanation please ask. ....
  17. Error On Emailer.php & Smtp.php At Phpbb
    ERROR on emailer.php & smtp.php at PhpBB (2)
    Are you use free webhosting??? smtp.php and emailer.php are general error on CMS like phpBB . It
    make email verification disabled.Why??? because free webhosting not allow us use smtp port .they
    afraid their server will atacking with spam !! so what solution to solve this problem?? You
    can search on google or join at phpBB forum !!! but if it can not solve all this problem
    it only able 1 trick ..you must download emailer MOD at www.phpbbhacks.com to inactive emailer.php
    or smtp.php ....
  18. How To Download Any Music (mp3), The Legal Way. Hot!
    You can listen and download to your drive in mp3. (39)
    How to download any music (mp3), the legal way. I am sure anyone likes to listen to music, with a
    very few exceptions. Recently, i was looking for new technology to listen and even to download mp3
    using the internet, when i found what i consider the best program on the net, and freeware, to
    listen music, and at the same time, to be able to download that particular music you are listening
    to your hard drive. I guess you are thinking, "bs man, there isn't such program, and free, no
    way?!" But there is, i was very surprised, i usually do not beleave what some ....
  19. Change In Invision Gallery Settings
    to prevent unwanted spam comments (2)
    Changes to Invision Gallery was made today after finding out TrueFusion and mine were bombarded with
    spam comments. From now on, GUESTS are not allowed to view/comment on your album/image unless they
    register with Trap17.com. This will capture at least their registration information and then I can
    do something to block them from spreading more spam in our board. Please use the REPORT button to
    notify any spam and inappropriate comments left to your album(s). Only admins can modify the
    gallery. Thank you all. /smile.gif" style="vertical-align:middle" emoid=":)" border....
  20. Smtp Server Is Not Working...?
    I think there is a prob. with my SMTP server (4)
    I am posting this because I believe there is a problem with my SMTP server (at Trap17.com). I have
    been trying to send mail with PHP using the mail() function. Although PHP did not return any errors,
    none of the mail was actually sent... I have enclosed a copy of 2 different codes I have tried to
    use. Either I'm making a mistake with these codes or there js a problem with my SMTP server. If
    there is a mistake with my code, please tell me what is wrong. Otherwise, maybean admin can look at
    my SMTP server configuraton to make sure it works. CODE 1 CODE $email....
  21. Genuine Help With Smtp And Php Mail() Function
    I need help using the PHP mail() function and the SMTP server on Trap1 (3)
    Hello, I have looked up the solution to this problem numerous times on this forum but cannot seem to
    get a straight answer. I have also read that something called SMTP Authetication is required. I have
    looked up numerous ways this should be done, but I believe it required special protocols. This is
    the code that I tried to use to send e-mail using the SMTP server here at Trap17. CODE
    $email_to = "whoever@whoever.com"; //SEND MAIL TO HERE $subject = "Testing the
    SMTP server"; $message = "This is a test of the SMTP server on T....
  22. Mac Mail And Server Settings
    (2)
    I have Mac Mail checking and downloading email, but I can't get it to find the outgoing mail
    server. I've tried mail.blendergalactica.com, mail.www.blendergalactica.com,
    smtp.blendergalactica.com etc, but I get this error back: The SMTP server
    “mail.blendergalactica.com” is not responding. Check your network connection and that you entered
    the correct information in the “Outgoing Mail Server” field. If it still doesn’t respond, the server
    might be temporarily unavailable. If you continue, you may not be able to send any mail. ....
  23. Mx Settings Help
    (0)
    I bought "Managed DSN" for my domain.. i bought it so that I can change the MX setting The problem
    however is that my namserver is different than the place where i registered the domain. The MX
    settings i changed are having no effects. Is it because my name server is set somehwre else. I
    wanted to know who controls the MX settings.. -the place where I registered my domain, or -where
    the nameserver is pointing to Help guys! Is buying the managed DNS useless!?....
  24. Is A Smtp Server Setup On Trap17 Servers?
    I need it for my website's DRUPAL registration. (9)
    Hey guys! I can't ask in shoutbox so I've got to use the slow way. : / As you've
    probably read, I need it for my website's registration, I've learned this by asking in the
    Drupal(a CMS) Support, this good man said that I should have an SMTP server setup for it to work,
    unfortunately, I don't know if Trap17 haves it and I don't know how to access it. If there
    is none, could you recommend a free solution? If there is one, could you be so kind of teaching me
    how to use/access it? Thanks by now. P.S: Go Trap17 crew!....
  25. In Trap17.net Smtp Is Enable?
    (5)
    hello. In trap17.net free webhosting, smtp is enable?....
  26. Sendmail Vs Mail() And Smtp
    how to use sendmail? (3)
    hello guys!.... at last i discovered that using sendmail the mails i send, arrived directly to
    the inbox folder in accounts like MSN or YAHOO!, that is very useful when you have a list to
    some friends or some kind of newsletter. The bad thing is that i made it all with joomla!, it
    had this option, but i would really like to have a script with this new form, do you have any idea
    about how this can be achieved guys? And the other thing, does trap17 support smpt? if you do
    support it guys, can the mails arrive to the inbox with accounts such as MSN or YAHOO....
  27. Do You Listen To Radio Talk Stations?
    radio talk stations are addicting (1)
    I don't know about people in other countries but I like listening to radio talk stations. Such
    as 105.3 FM. Which segments throughout the day or talk personalities like Tom Leykis, Pugs and
    Kelly, Russ Martin show, etc oh and can't forget Loveline. The Tom Leykis show isn't as bad
    as Howard Stern but its controversial. Not many may like him but its okay. OH and they just talk
    about news and stuff happening with people. Do you listen to any radio talk stations?? any
    favorite.....
  28. They Never Listen
    my parents never listen (17)
    i swear that i'm gonna duct tape my mother's mouth is she doesn't start listening to
    what i say. She always gives me crap for not listening to her, but really its the other way around.
    I get into trouble from her aLL The time because she never actually listens to EXACTLY what i say.
    she'll pretend she's listening and only catch a FEW of the details like... if i said i was
    going to wear a red and pink dress with black butterflies on it she would only catch that i was
    going to wear a dress. her listening to me saying what i'm gonna wear isn't re....
  29. Mail Settings To Configure Outlook Express
    Common mistakes by members (10)
    Hi, There are many members who face trouble getting their mails to their inbox. There can be many
    reasons for which your system might not be able to fetch mails from our servers. We have kept all
    the attributes related to the mail at DEFAULT so that our clients don't have problems
    configuring the mail themselves. Here the the general mistakes which members make :- 1. Username
    *MUST* be in format USERNAME@DOMAIN.COM (i.e. your complete Emaill address itself acts as your
    username) 2. Forget the password or confuse it with Cpanel password. Every Email address has to....
  30. What Sort Of Music Do You Listen To?
    What sort of music do you listen to? (72)
    Hi Everyone, Since I'm new, I just was wondering what sort of musical tastes everyone has. My
    favorite types of music are hard rock and metal. I also like 70s rock (Led Zeppelin, Yes, Rush, etc)
    and I like the more modern stuff, too (White Stripes, The Hives, Audioslave). My favorite band is
    U2. But I pretty much listen to anything (depends on my mood).....

    1. Looking for smtp, settings, php, ini, listen,

Searching Video's for smtp, settings, php, ini, listen,
Similar
Anywhere Fm
- upload all
the music
and listen
from
anywhere
On Line
Proxies!
- Bypass
your limited
settings...
Ch Customer.
- Need Help
W/ Php/mysql
Settings.
System()
Passthru()
Mysqldump
Smtp
Authenticati
on Error
[resolved] -
Can not send
Let's
Listen To A
Hawthorne
Heights
Album And
Sob... Slit
My Wrists
And Black My
Eyes =] -
This effin
awsome party
i went to.
When
Mountains
Speak, Wise
Men Listen -
Rising Son
(’And then
panic
gripped his
voice as he
moaned
"Oh, no
How To Reset
Internet
Explorer 7.0
Settings
(ries)
Smtp Mail
Issue
Whats Music
Type Of
Music Do You
Listen To? -
Post what
type of
music you
listen to.
New Twist On
An Old
Backdoor
Trojan -
Suspect this
trojan
infects or
changes BIOS
settings
Trap17 Has
Smtp? - Can
we run PHP
scripts to
send e-mail?
Send Emails
Without Smtp
- How to
send emails
from your
website
without SMTP
Is It
Possible To
Run Two
Copies Of
Firefox On
Different
Settings?
Trap17 Ftp
Settings -
There is a
mistake in
the trap17
FTP server
address
I Made These
With Sony
Acid Pro -
hehe listen
to it and
RATE it
Is There A
Freebie For?
Smtp Hosts?
- Quick
question.
Error On
Emailer.php
&
Smtp.php At
Phpbb -
ERROR on
emailer.php
&
smtp.php at
PhpBB
How To
Download Any
Music (mp3),
The Legal
Way.
Hot! -
You can
listen and
download to
your drive
in mp3.
Change In
Invision
Gallery
Settings -
to prevent
unwanted
spam
comments
Smtp Server
Is Not
Working...?
- I think
there is a
prob. with
my SMTP
server
Genuine Help
With Smtp
And Php
Mail()
Function - I
need help
using the
PHP mail()
function and
the SMTP
server on
Trap1
Mac Mail And
Server
Settings
Mx Settings
Help
Is A Smtp
Server Setup
On Trap17
Servers? - I
need it for
my
website'
s DRUPAL
registration
.
In
Trap17.net
Smtp Is
Enable?
Sendmail Vs
Mail() And
Smtp - how
to use
sendmail?
Do You
Listen To
Radio Talk
Stations? -
radio talk
stations are
addicting
They Never
Listen - my
parents
never listen
Mail
Settings To
Configure
Outlook
Express -
Common
mistakes by
members
What Sort Of
Music Do You
Listen To? -
What sort
of music do
you listen
to?
advertisement



Smtp Settings - PHP.ini does not seem to listen.



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE