smtp mail is not working

Status
Not open for further replies.

islamis4u

New Member
Messages
215
Reaction score
0
Points
0
when i put my smtp details in the mail in global config tab and then i register a acoount and click send mail then this message comes

Code:
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/[hidden] /public_html/786/includes/phpmailer/class.smtp.php on line 105

Warning: fsockopen() [function.fsockopen]: unable to connect to mail.islamis4u.x10hosting.com :25 (Unknown error) in /home/[hidden]/public_html/786/includes/phpmailer/class.smtp.php on line 105

* [Hidden] is shown their i have by myself right hide it cause for security reasons but their my hosing server names comes only.


i want to tell in the file manager some files permission are 755 and i have checked no auth.

in joomla can you tell me what to edit or what to do im pretty much at joomla and php
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
We have fsockopen disabled for security, do you know why it would be trying to use that to send out an Email?
 

TheJeffsta

New Member
Messages
984
Reaction score
0
Points
0
Im sure sendmail is able to be used with Joomla, somewhere in the settings.

Does it absolutely require that information?
 

islamis4u

New Member
Messages
215
Reaction score
0
Points
0
i will step by step if did it right or wrong?

1. when i got my account i directly made a database ms sql and a folder in ftp
2. i then installed joomla
3. made address with the name conatct@islamis4u.x10hosting.com with password and quota of 250 mb.
4. i then went to joomla and got into admin snf global config in their i got mail tab and selected smtp as mailer

then i wrote following details:

Code:
mailing address: [EMAIL="contact@islamis4u.x10hosting.com"]contact@islamis4u.x10hosting.com[/EMAIL]
name : my name
sendmail path: /usr/sbin/sendmail
smtp auth: i selected yes
smtp user: contact+islamis4u.x10hosting.com (when this not work i also wrote [EMAIL="contact@islamis4u.x10hosting.com"]contact@islamis4u.x10hosting.com[/EMAIL])
smtp pass: my pass
smtp host: mail.islamis4u.
and also made many files in joomla folder permission as 777 because many were 755.

then i tried to register account from main website it gave the message which i posted in first post:

when i put my smtp details in the mail in global config tab and then i register a acoount and click send mail then this message comes

Quote:
Code:
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/[hidden] /public_html/786/includes/phpmailer/class.smtp.php on line 105

Warning: fsockopen() [function.fsockopen]: unable to connect to mail.islamis4u.x10hosting.com :25 (Unknown error) in /home/[hidden]/public_html/786/includes/phpmailer/class.smtp.php on line 105
* [Hidden] is shown their i have by myself right hide it cause for security reasons but their my hosing server names comes only.


i want to tell in the file manager some files permission are 755 and i have checked no auth.

in joomla can you tell me what to edit or what to do im pretty much at joomla and php
i also then after this selected sendmail from same place and then erased smtp user, smtp pass and smtp host and selected no in smtp auth. but this also didn't work i didn't changed the sendmail path which was /usr/sbin/sendmail
this time i tried to register but no error came but no mail also not came.

i have wrote everything i have done other then this i havnt done anything
somebody wrote about sendmail if i want to activate on my account how can i do that please and also do so see my smtp problem. i will be thankful if this problem is solved

We have fsockopen disabled for security, do you know why it would be trying to use that to send out an Email?
i dont anything about fsockopen i just wrote what error i got. sory to say im very much newbie at php.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
smtp.islamis4u is not your mailserver

It would be islamis4u.x10hosting.com
 

islamis4u

New Member
Messages
215
Reaction score
0
Points
0
i wrote same server name you have pointed out which is mail.islamis4u.x10hoting.com i think their is other problem. if you can tell what i should do for sendmail in cpanel or what other settings
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Did you try turning smtp auth off? It shouldn't need SMTP to use the PHP mail function.
 
Status
Not open for further replies.
Top