Author Topic: Can't send email  (Read 12707 times)

0 Members and 1 Guest are viewing this topic.

ederwainer

  • Jr. Member
  • **
  • Posts: 2
Can't send email
« on: April 17, 2009, 10:19:31 AM »
Hello everybody,

I have installed Webim on a server that runs websites only, no local email server.

I have read other posts with similar problem and I have appplied    $body = preg_replace("/\n/","\r\n", $body); to the file common.asp, as suggested by another forum member, but still, when I try to send an offline message as a visitor, I get the following error:

Warning: mail() [function.mail]: SMTP server response: 550 Requested action not taken: mailbox unavailable or not local in C:\Inetpub\vhosts\verapagani.com.br\httpdocs\webim\libs\common.php on line 498

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\verapagani.com.br\httpdocs\webim\libs\common.php:498) in C:\Inetpub\vhosts\verapagani.com.br\httpdocs\webim\libs\common.php on line 301

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\verapagani.com.br\httpdocs\webim\libs\common.php:498) in C:\Inetpub\vhosts\verapagani.com.br\httpdocs\webim\libs\common.php on line 302

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\verapagani.com.br\httpdocs\webim\libs\common.php:498) in C:\Inetpub\vhosts\verapagani.com.br\httpdocs\webim\libs\common.php on line 303

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\verapagani.com.br\httpdocs\webim\libs\common.php:498) in C:\Inetpub\vhosts\verapagani.com.br\httpdocs\webim\libs\common.php on line 304


Seems like I need to authenticate an smtp server thats outside of the current server where webim is.

Any help will be greatly appreciated.

Im on a windows server running Plesk 8.3

Thanks

Eder Wainer

Eddybaur

  • Native
  • *****
  • Posts: 237
  • Mibew Member
    • Mibew
Re: Can't send email
« Reply #1 on: April 17, 2009, 05:49:58 PM »
Just use PHP mail. it's simplier, and less complicated :)

ederwainer

  • Jr. Member
  • **
  • Posts: 2
Re: Can't send email
« Reply #2 on: April 17, 2009, 10:41:19 PM »
Is it an option on Webim? If so, how can I enable it?

Any server side configuration necessary.

If you could as kind as to give me some instructions, I would really appreciate it.


Thanks

Eder

Eddybaur

  • Native
  • *****
  • Posts: 237
  • Mibew Member
    • Mibew
Re: Can't send email
« Reply #3 on: April 17, 2009, 10:59:02 PM »
Hmm scratch that... i think it's default PHP mail settings... Inspirer knows...  But my hints would be, make sure PHP Mail is turned on in your PHP.ini file. If that isn't, enable it, then restart.  IF that doesn't work, download the attachment. see if it works with a little thingy i did.

goodguy

  • Jr. Member
  • **
  • Posts: 3
Re: Can't send email
« Reply #4 on: May 17, 2009, 01:06:05 AM »
I agreee with you! PHP Mail is the best choice sometime! Try this one!