1
comegona
Mail bug(?) still in 2.0.6RC
  • 2004/1/21 15:15

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


I don't know if this is a bug or what, but I couldn't get this to work in any version, and I started using since 2.0.5.

I use SMTPAuth and set the 'SMTP host' along with Username and password for the same 'SMTP host'. When I try to send an Email I get the following:
Resized Image


I then press NO and I get the following:

Errors
SMTP Error
Could not authenticate
Could not send mail to user1
.

SMTP ErrorCould not authenticate
Could not send mail to user2
.

Sending message completed.


Now I know the username and password works for this SMTP site because I use it in PHPBB2 and I can download mail using Fetchmail on a command line.

I havent installed sendmail or such yet but until then I need to use this so that I can send mail from the XOOPS site. As of now the XOOPS site that I have live has no email option. I cannot send emails to anyone from the site.




Any help appreciated.

2
kahumbu
Re: Mail bug(?) still in 2.0.6RC
  • 2004/1/21 17:08

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


Maybe this link can help:

SMTPAuth Bug Fix

Good luck!

3
comegona
Re: Mail bug(?) still in 2.0.6RC
  • 2004/1/21 17:27

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


Tried it now get the following..

Same error that comes up as above and:

Errors
SMTP Error
Data not accepted
Could not send mail to user1
.
SMTP ErrorData not accepted
Could not send mail to user2
.

Sending message completed.


But I do get the mail

4
comegona
Re: Mail bug(?) still in 2.0.6RC
  • 2004/1/21 17:35

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


I registered as a new visitor and got the following:

You are now registeredHoweverwe were unable to send the activation mail to your email account due to an internal error that had occurred on our serverWe are sorry for the inconvenienceplease send the webmaster an email notifying him/her of the situation.

5
comegona
Re: Mail bug(?) still in 2.0.6RC
  • 2004/1/21 17:40

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


OK, I got the 'User activation key' email for the user I just registered and every seems to work. But the Errors that were mentioned above still come up.

6
kahumbu
Re: Mail bug(?) still in 2.0.6RC
  • 2004/1/21 17:56

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


I don't know why that happens. When I placed the suggested bugfix, everything worked fine. Maybe you can update XOOPS by going to Sys Admin -> Prefs -> Gen Settings and click Submit. I'm not sure if that would help, but we can try and see.

7
comegona
Re: Mail bug(?) still in 2.0.6RC
  • 2004/1/21 18:27

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


Still no luck. Same errors as above although I do get the mail.

8
kevincam
Re: Mail bug(?) still in 2.0.6RC
  • 2004/1/22 5:02

  • kevincam

  • Just popping in

  • Posts: 14

  • Since: 2003/2/25


I think I know why it happens.

In xoopsform/form.php
Line 385 through 399
this javacript function creates a call to:
windows.document.mailusers.mail_send_to.value == ""

but in xoopsfrom/formcheckbox.php
the function render()
creates a checkbox with the name mail_send_to[]
so I think the javascript should be
windows.document.mailusers.mail_send_to[].value == ""

9
comegona
Re: Mail bug(?) still in 2.0.6RC
  • 2004/1/22 17:43

  • comegona

  • Not too shy to talk

  • Posts: 165

  • Since: 2003/11/9


I checked but could not fine the

'windows.document.mailusers.mail_send_to.value == "" '

in the class/xoopsform/form.php file.


10
kevincam
Re: Mail bug(?) still in 2.0.6RC
  • 2004/1/23 7:30

  • kevincam

  • Just popping in

  • Posts: 14

  • Since: 2003/2/25


Here are lines 385 to 399




This is line 393 this is the one that generates the code mentioned above.
window.document.".$this->getName()."[].".$required[$i]->getName().".value == \"\"

Login

Who's Online

200 user(s) are online (72 user(s) are browsing Support Forums)


Members: 0


Guests: 200


more...

Donat-O-Meter

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

Latest GitHub Commits