The Web Squeeze: Problems With Dolphin Mail Sending - The Web Squeeze

Jump to content

Forum

PHP

This PHP Support Forum will help you troubleshoot php, learn best php coding practices and anything else you care to know about creating dynamic websites using PHP, the most popular server-sided language in the net. Our enthusiastic PHP experts can help you take your website from static to dynamic in no time.
Digg Del.ico.us Slashdot Technorati furl Reddit Facebook Fark Google Magnolia Wink Yahoo Netscape
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problems With Dolphin Mail Sending PHP based program, so we can fix the code

#1 User is offline   thesealportalteam Icon

  • Rapid Squeezer
  • PipPipPipPip
  • Group: Members
  • Posts: 347
  • Joined: 14-February 08
  • Gender:Male
  • Location:The US, state of New York.

Posted 14 March 2008 - 01:45 PM

I get this error:

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\personja\test\inc\utils.inc.php on line 425

as well as a series of 2 more errors, how do I change the localhost to k2.secureserver.net ?

I have XAMPP, with the latest of everything.

I changed PHP.ini & PHP5.ini from localhost to k2.secureserver.net, but it still says that error.

Any help would be appreciated!

This post has been edited by thesealportalteam: 17 March 2008 - 09:10 AM

Got spare time? Visit My Page.
"When you know something should work one way,
but you change it and it no longer works... Who's fault?"


0

#2 User is offline   Rakuli Icon

  • Community Director
  • Icon
  • Group: Community Director
  • Posts: 1,378
  • Joined: 13-February 08
  • Gender:Male
  • Location:Catching the squeezed drips downunder.

Posted 14 March 2008 - 02:42 PM

Silly question, but did you restart the server? I know I had a headache once setting up SMTP because I didn't restart and get the new .ini file loaded.

#3 User is offline   thesealportalteam Icon

  • Rapid Squeezer
  • PipPipPipPip
  • Group: Members
  • Posts: 347
  • Joined: 14-February 08
  • Gender:Male
  • Location:The US, state of New York.

Posted 17 March 2008 - 07:28 AM

View PostRakuli, on Mar 14 2008, 03:42 PM, said:

Silly question, but did you restart the server? I know I had a headache once setting up SMTP because I didn't restart and get the new .ini file loaded.


una-fortunately. Its hosted by go-daddy which means I need to redirect all localhost smtp to k2.secureserver.net. Sad isn't it?

I'll restart it - again. For the last time I hope.

This post has been edited by thesealportalteam: 17 March 2008 - 07:29 AM

Got spare time? Visit My Page.
"When you know something should work one way,
but you change it and it no longer works... Who's fault?"


0

#4 User is offline   Jason Icon

  • Master of the Universe
  • Icon
  • Group: Mentor
  • Posts: 2,533
  • Joined: 15-February 08
  • Gender:Male
  • Location:London, England

Posted 17 March 2008 - 08:04 AM

The problem is with your server, not the script. If the problems persist phone up your host and ask for some guidance on getting it working.
0

#5 User is offline   thesealportalteam Icon

  • Rapid Squeezer
  • PipPipPipPip
  • Group: Members
  • Posts: 347
  • Joined: 14-February 08
  • Gender:Male
  • Location:The US, state of New York.

Posted 17 March 2008 - 08:22 AM

I control the server so give me some hints to whats the problem
Got spare time? Visit My Page.
"When you know something should work one way,
but you change it and it no longer works... Who's fault?"


0

#6 User is offline   Jason Icon

  • Master of the Universe
  • Icon
  • Group: Mentor
  • Posts: 2,533
  • Joined: 15-February 08
  • Gender:Male
  • Location:London, England

Posted 17 March 2008 - 09:02 AM

Create a simple mail script. If it doesn't send this will confirm the problem is with the server.

Next thing to do is look at your php.ini file and confirm that the mail settings are correct.
0

#7 User is offline   Rakuli Icon

  • Community Director
  • Icon
  • Group: Community Director
  • Posts: 1,378
  • Joined: 13-February 08
  • Gender:Male
  • Location:Catching the squeezed drips downunder.

Posted 17 March 2008 - 09:06 AM

Seal appears to have done that based on his first post...

The fact that the error is saying SMTP is pointing to localhost flags that the ini file is not loading with the new settings.

@ Seal, any change after the latest restart?

#8 User is offline   thesealportalteam Icon

  • Rapid Squeezer
  • PipPipPipPip
  • Group: Members
  • Posts: 347
  • Joined: 14-February 08
  • Gender:Male
  • Location:The US, state of New York.

Posted 17 March 2008 - 09:11 AM

No, is there anyway to force the ini to go in?


Is the error, I'll post the ini
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\personja\test\inc\utils.inc.php on line 425

This post has been edited by thesealportalteam: 17 March 2008 - 09:12 AM

Got spare time? Visit My Page.
"When you know something should work one way,
but you change it and it no longer works... Who's fault?"


0

#9 User is offline   thesealportalteam Icon

  • Rapid Squeezer
  • PipPipPipPip
  • Group: Members
  • Posts: 347
  • Joined: 14-February 08
  • Gender:Male
  • Location:The US, state of New York.

Posted 17 March 2008 - 09:14 AM

[sendmail]

smtp_server=k2smtpout.secureserver.net

; smtp port (normally 25)
smtp_port=25

default_domain=personja.com

; log smtp errors to error.log (defaults to same directory as sendmail.exe)
; uncomment to enable logging

error_logfile=error.log

; create debug log as debug.log (defaults to same directory as sendmail.exe)
; uncomment to enable debugging

;debug_logfile=debug.log

; if your smtp server requires authentication, modify the following two lines

auth_username=
auth_password=

; if your smtp server uses pop3 before smtp authentication, modify the 
; following three lines

pop3_server=
pop3_username=
pop3_password=

; to force the sender to always be the following email address, uncomment and
; populate with a valid email address.  this will only affect the "MAIL FROM"
; command, it won't modify the "From: " header of the message content

force_sender=

; sendmail will use your hostname and your default_domain in the ehlo/helo
; smtp greeting.  you can manually set the ehlo/helo name if required

hostname=

Got spare time? Visit My Page.
"When you know something should work one way,
but you change it and it no longer works... Who's fault?"


0

#10 User is offline   thesealportalteam Icon

  • Rapid Squeezer
  • PipPipPipPip
  • Group: Members
  • Posts: 347
  • Joined: 14-February 08
  • Gender:Male
  • Location:The US, state of New York.

Posted 17 March 2008 - 12:24 PM

FIXED!!!!!

I used the PHP ini_set() to fix the problem.
ini_Set("smpt","k2.secureserver.net");

Got spare time? Visit My Page.
"When you know something should work one way,
but you change it and it no longer works... Who's fault?"


0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


Page 1 of 1
Trackbacks
Trackback URL Trackback Date Total Hits
No trackbacks were found
Page 1 of 1

Similar Topics
  Topic Started By Stats Last Post Info
New Replies Icon Uk Based Autism Site
This is my autism site love to hear your thoughts
AboutAutism Icon
  • 8 Replies
  • 3,318 Views
Hot Topic (New) Icon Posting Code unitedcraig Icon
  • 22 Replies
  • 4,872 Views
New Replies Icon Wordpress Is Too Helpful And Deleted My Blog Page Code :(
Can I disable all of its code helpers?
cosmicbdog Icon
  • 7 Replies
  • 3,503 Views
New Replies Icon Hi, I Got The Mail caminowebmaster Icon
  • 9 Replies
  • 1,243 Views
New Replies Icon Copy Code welshstew Icon
  • 5 Replies
  • 1,556 Views

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users