r-a-y / bp-reply-by-email

Reply to BuddyPress items from the comfort of your email inbox. Currently in pre-release.
GNU General Public License v2.0
63 stars 9 forks source link

Custom mailserver options not saved to database #19

Closed joanjunyent closed 12 years ago

joanjunyent commented 12 years ago

When using a mailserver other than gmail, the server settings for mailserserv, port, and tag are not saved to the database. The rest of the options are saved just fine.

Using WP 3.4.1, BP 1.6.1.

Thanks

r-a-y commented 12 years ago

Hi Joan,

Thanks so much for testing! I was able to confirm the bug report and this should be fixed now.

Download the new build and let me know if it works for you.

joanjunyent commented 12 years ago

It saves the options now. Surprisingly I'm still getting the following message:

BuddyPress Reply By Email cannot initialize. Please navigate to "BuddyPress > Reply By Email" to fill in the required fields and address the webhost warnings.

r-a-y commented 12 years ago

Hi Joan,

Navigate back to the BP Reply By Email settings page. Do you see another red box underneath the "BuddyPress Reply By Email cannot initialize" box detailing any connection errors?

Something like:

 Error: Unable to connect to inbox - ... the error message ...
joanjunyent commented 12 years ago

I was getting a error for using a self-signed certificate.

I overrided it by adding the /novalidate-cert flag after /ssl in the following functions.

function validate() function get_mailbox()

Now I'm going to do some testing

r-a-y commented 12 years ago

Cool, glad you were able to figure it out.

I do have a filter in those methods so you can override the values without modifying the core code. However, I might add the /novalidate-cert flag by default as it shouldn't affect external mailservers like GMail.

I'll look into it. Thanks for testing and let me know if you encounter any other bugs!