1
irmtfan
after move to a new server cant send email in xoops
  • 2006/8/18 4:58

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i can send email with outlook but XOOPS mail dosent work.

phpmail get me this error:
Could not instantiate mail()

i choose "sendmail" and it said emails send to users but i dont get any email.

any help would be appreciated

2
irmtfan
Re: after move to a new server cant send email in xoops
  • 2006/8/18 5:02

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i forgot this:
i just cant send emails.
receive emails works fine.

3
irmtfan
Re: after move to a new server cant send email in xoops
  • 2006/8/18 9:56

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


its very strange
it said "email sent to U_name" but i dont get any email
anyone can help about this?

4
irmtfan
Re: after move to a new server cant send email in xoops
  • 2006/8/18 17:00

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


any reply?

5
Bender
Re: after move to a new server cant send email in xoops
  • 2006/8/18 19:38

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


Does any other script on the server work with phpmail?

Is this your server or shared hosting? If the latter i would contact the hoster to hear what they have to say about it.

I know this is not the best answer but currently i don´t have any good idea about that u_name thing.

If you need something for testing here is a php standalone mailscript: <<< link >>>
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

6
irmtfan
Re: after move to a new server cant send email in xoops
  • 2006/8/18 20:57

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


recently i move to a dedicate server.its my server but i dont manage it by myself.

here is the support note about the issue:


Quote:
We had checked the phpmail issue. To confirm the existence of such an issue, we had created a test script named "phpmail_test.php" in the path "/home/.../public_html". The destination mail were set to "Name[AT]yahoo.com" and it worked very well. Please check the logs to confirm.


and phpmail_test.php code:


$to "Name[AT]yahoo.com";
$subject "Hi!";
$body "THIS IS A TEST .....!";
if (
mail($to$subject$body)) {
  echo(
"

Message successfully sent!

"
);
 } else {
  echo(
"

Message delivery failed...

"
);
 }
?>


and also it said "Message successfully sent!" but i dont get any email.

same as xoops

7
Dave_L
Re: after move to a new server cant send email in xoops
  • 2006/8/18 22:00

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Is there a mail log you can check for clues? If it's a Linux server, the log is probably in the directory /var/log.

8
irmtfan
Re: after move to a new server cant send email in xoops
  • 2006/8/19 5:13

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


the problem solved
support reply this hope it can be usefull for others:


Quote:
Your issue is fixed now.

The problem you faced was due to the fact that your server was configured to prevent
the nobody users from sending mails to outside the server. The php scripts sends mails as nobody
and so we enabled the option. We have successfully sent mails to our yahoo account 'any@yahoo.com'
using 'phpmail_test.php'.

Login

Who's Online

340 user(s) are online (33 user(s) are browsing Support Forums)


Members: 0


Guests: 340


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits