Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
2.2k views
in Q2A Core by
Hi,

I am completly worried with this issue, when ever a user registers, he is not getting user validation link email.

I tried using emails of  rediffmail and live.in and didn't get the confirmation email, checked even my spam folder.

Please help in solving this issue.

http://questions.yourgoal.in/
by
If you go to admin--->Mailing---> enable mass mailings to all users --->"send test to me" , do you receive the email on your email address ?
How did you configure your email ? SMTP or "local" email ?
by
Hi,

Yes, I tried to do "Send test to me" and it was succesfull. I received the email to my gmail account.

I am not using "Send email via SMTP instead of local mail". I am using local email.
by
edited by
In the admin panel you should have the "Email address for admin messages" set to something "sensible".
The "sender address" should also be an address like :
no-reply@yourq2adomain.com
In your case :
no-reply@yourgoal.in
by
Yes, the emails have been already added.
by
Have you already tried using SMTP ? Is there a reason why you are using "local" mail ?
by
Hi,

If I tried to use smtp option by entering the below details, I get the below mentioned error.

1) SMTP server address:
smtp.gmail.com

2) SMTP server port: 465

3) SMTP secure connection: SSL

4) SMTP user name: XXXXXX@gmail.com

5) SMTP Password: XXXXXX

Error that I get is

Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:465 (Connection refused) in /home/content/33/11326133/html/questions/qa-include/qa-class.smtp.php on line 122
Question2Answer fatal error:
Could not send email confirmation

Stack trace:

require() in index.php:31
require() in qa-index.php:165
qa_get_request_content() in qa-page.php:795
qa_call_override() in qa-page.php:198
qa_call() in qa-base.php:579
qa_get_request_content_override_1_in_qa_news_overrides_php() in qa-base.php:532
qa_get_request_content_base() in qa-base.php(510) : eval()'d code:55
qa_call() in qa-base.php(577) : eval()'d code:1
qa_get_request_content() in qa-base.php:532
require() in qa-page.php:207
qa_send_new_confirm() in qa-page-confirm.php:54
by
Ssl outbound invocations are probably blocked by your hosting provider.
You should ask your provider to open that port (465) for your ssl invocations.
An alternative way you have is that of using the Smtp service that your hosting provider offers (instead of using smtp.gmail.com).
by
Hi,

I checked with the hosting service provider and he guided me to

Use relay-hosting.secureserver.net unless:

You use PHP script and the mail() function.
You use Perl script and the /usr/lib/sendmail binary.
In those cases, you do not need to specify a relay server.


Please suggest what I need to do with this
by
edited by
Phpmailer : php + sendmail binary.
So, following their (GoDaddy's ?) schema you should use their server (relay server) as Smtp server.
Do you have the port ? (It should be 25)
No security/SSL.
As "from" address you should use an address that is registered on their server
(Address@yourdomain.com)
by
I apologize, I could't understand.

I did the following after going through your suggestion.

1) SMTP server address:
 relay-hosting.secureserver.net

2) SMTP server port: 25

3) SMTP secure connection: None

4) SMTP user name: XXXXXX@yourgoal.in

5) SMTP Password: XXXXXX

and I got the below error.

Question2Answer fatal error:
Could not send email confirmation

Stack trace:

require() in index.php:31
require() in qa-index.php:165
qa_get_request_content() in qa-page.php:795
qa_call_override() in qa-page.php:198
qa_call() in qa-base.php:579
qa_get_request_content_override_1_in_qa_news_overrides_php() in qa-base.php:532
qa_get_request_content_base() in qa-base.php(510) : eval()'d code:55
qa_call() in qa-base.php(577) : eval()'d code:1
qa_get_request_content() in qa-base.php:532
require() in qa-page.php:207
qa_send_new_confirm() in qa-page-confirm.php:54
by
In the admin panel, emails , you should have :
sender address for message from site = xxx@yourgoal.in
send smtp  username and password = not checked

No authentication.
And the email address that you use must be defined on your cpanel account

Please log in or register to answer this question.

...