Jump to content

Email System not working


Fredecardoso

Recommended Posts

Hi , i know its a silly question but can your server send mails?

Also check in the database that the correct email is in there.

How? With SMTP(i think no)?

The database is fine! :)

One more thing, i'm testing the phpVMS in a localhost server(xampp) but i think that should be working well... ;)

I want do so a website localy and after put into a server comapany, but i'm tried install phpVMS in a free webhosting company and i cant install there are many errors...

Thanks by the answer,

Fred

Link to comment
Share on other sites

  • 3 weeks later...

I've the same problem.

I use a Gmail account (and smtp google server) to send emails.

Phpvms returns authentication errors even if i set AUTH true in local.config.php

It's not an host problem because it's ok sending emails from the forum (smf) on the same host and same smtp.

Link to comment
Share on other sites

I've the same problem.

I use a Gmail account (and smtp google server) to send emails.

Phpvms returns authentication errors even if i set AUTH true in local.config.php

It's not an host problem because it's ok sending emails from the forum (smf) on the same host and same smtp.

Hi,

Dont configure AUTH on phpVMS config file, install fake sendmail(for windows only) if you are running in localhost(http://wiki.uniformserver.com/index.php/Installing_Fake_Sendmail_for_Windows) and configure you AUTH setings on sendmail config file only.

Only put the email in local.config.php to show on email of recipients.

With me the phpVMS and the sendmail are working fine!

Sorry, by my bad english!

Fred

Link to comment
Share on other sites

  • Administrators

I've the same problem.

I use a Gmail account (and smtp google server) to send emails.

Phpvms returns authentication errors even if i set AUTH true in local.config.php

It's not an host problem because it's ok sending emails from the forum (smf) on the same host and same smtp.

Make sure the port is proper, gmail uses different ports and SSL as well. Your server needs to support SSL, I might also have to make a code change

Link to comment
Share on other sites

Make sure the port is proper, gmail uses different ports and SSL as well. Your server needs to support SSL, I might also have to make a code change

STMP port is correct and the server supports SSL (we send emails from our smf forum).

Phpmailer debug messages says that it tries to connect to gmail but doesn't recognize authentication when trying to send an email.

Here is a part of the debug message:

SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "220 mx.google.com ESMTP m2sm3405127wer.13 " 
SMTP -> get_lines(): $data is "220 mx.google.com ESMTP m2sm3405127wer.13 " 
SMTP -> FROM SERVER:220 mx.google.com ESMTP m2sm3405127wer.13 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "250-mx.google.com at your service, [151.1.182.11] " 
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [151.1.182.11] " 
SMTP -> get_lines(): $data was "250-mx.google.com at your service, [151.1.182.11] " 
SMTP -> get_lines(): $str is "250-SIZE 35651584 " 
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 " 
SMTP -> get_lines(): $data was "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 " 
SMTP -> get_lines(): $str is "250-8BITMIME " 
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 250-8BITMIME " 
SMTP -> get_lines(): $data was "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 250-8BITMIME " 
SMTP -> get_lines(): $str is "250-AUTH LOGIN PLAIN XOAUTH " 
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH " 
SMTP -> get_lines(): $data was "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH " 
SMTP -> get_lines(): $str is "250 ENHANCEDSTATUSCODES " 
SMTP -> get_lines(): $data is "250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH 250 ENHANCEDSTATUSCODES " 
SMTP -> FROM SERVER: 250-mx.google.com at your service, [151.1.182.11] 250-SIZE 35651584 250-8BITMIME 250-AUTH LOGIN PLAIN XOAUTH 250 ENHANCEDSTATUSCODES 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "530-5.5.1 Authentication Required. Learn more at " 
SMTP -> get_lines(): $data is "530-5.5.1 Authentication Required. Learn more at " 
SMTP -> get_lines(): $data was "530-5.5.1 Authentication Required. Learn more at " 
SMTP -> get_lines(): $str is "530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 m2sm3405127wer.13 " 
SMTP -> get_lines(): $data is "530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 m2sm3405127wer.13 " 
SMTP -> FROM SERVER:530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 m2sm3405127wer.13 
SMTP -> ERROR: MAIL not accepted from server: 530-5.5.1 Authentication Required. Learn more at 530 5.5.1 http://mail.google.com/support/bin/answer.py?answer=14257 m2sm3405127wer.13 
The following From address failed: servizi@italianaviation.com

Link to comment
Share on other sites

I see [solved] on thread object but i can't still send emails (i can't use Fedecardoso solution because we don't work on local).

Do i have to open another thread?

Why you no use yours ISP provider SMTP Server or use mine works for me and for you must work to:smtp.netcabo.pt but please don't send SPAM!

PS:Your IP will be rejected(i think) but try it out!

Regards,

Fred

Link to comment
Share on other sites

I puted Solved because my problem it's solved, i forgotted yours(sorry).

I will be remove that.

Regards,

Fred

No problem :)

Why you no use yours ISP provider SMTP Server or use mine works for me and for you must work to:smtp.netcabo.pt but please don't send SPAM!

PS:Your IP will be rejected(i think) but try it out!

I will try.

But i think that is only a way to turn around the problem.

I think that if it's a PHPvms solvable problem it will be turn useful to future users of phpvms preventing them to change the server because the bug.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...