Login     Sign up
Was this helpful?
Options (Maximum selection: 1)Votes
Yes
1
No
1
Closed in Jul 23rd 2011 (2 people voted)

Email Configuration (SOLVED)
Michael James Swan (@m1chael)
Join date: Jul 20th 2010
Community posts: 14
View Profile
Send Message

If you have issues where your password reset is not working or invites are not working because emails are not being received by receipt's; then you need to change the following line to make it work.

  • THIS IS ONLY IF YOUR WEB HOST REQUIRES YOUR EMAIL "from" OR "sender" TO BE HOSTED ON THE SAME ACCOUNT AS THE FILES*

.....................

In the folder/file, /Includes/common.inc.php ; find this line:

$reply = get_gvar('site_name').'no-reply@'.$_SERVER['HTTP_HOST'].'';

....

If you take a look closely, you can see what needs to be changed. I.E. The email address which you want your JCow Community to send emails from:

Change it to:

$reply = '[email protected]';

obviously replacing "email" and "domain" with the email account name ... I.E. Admin and the "domain" to your website domain name. I.E. google.co.uk

USE THIS AT YOUR OWN RISK AND REMEMBER TO BACK EVERYTHING UP

Please provide feedback on your findings.

Regards,
Michael Swan

177 months ago
Michael James Swan (@m1chael)
Join date: Jul 20th 2010
Community posts: 14
View Profile
Send Message

I have signed up to the website, and tested to see if a new user will now get an email ; and now "with the above fix".. It does work!

177 months ago
reetu (@reetu)
Join date: Jul 14th 2010
Community posts: 36
View Profile
Send Message

There is anything in include/config.default.php file , it's blank: <?php
/ ############################################################ \

@package Jcow Social Networking Script.
@copyright Copyright (C) 2009 - 2010 jcow.net. All Rights Reserved.
@license see [url]http://jcow.net/license[/url]

* ############################################################ */

//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

// DO NOT EDIT THIS FILE
// EDIT /my/config.php instead

//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
than how to change my mail and domain. mu/config is also blank.

177 months ago
reetu (@reetu)
Join date: Jul 14th 2010
Community posts: 36
View Profile
Send Message

invite is not working, where write email and domain.

177 months ago
Michael James Swan (@m1chael)
Join date: Jul 20th 2010
Community posts: 14
View Profile
Send Message

My mistake, sorry..

It is in:

/Includes/common.inc.php

Regards,
Michael Swan

177 months ago
reetu (@reetu)
Join date: Jul 14th 2010
Community posts: 36
View Profile
Send Message

After change it in include/common.inc.php, but invite is not send email to that address.

177 months ago