I'm excited about the 2-x branch of your module as it appears to do most of the things I need for our web site. However, when I change the Mailing method to "SMTP" and click "Submit," the radio button isn't remembered. The information I filled in remains, but the radio button reverts to mail.

Comments

jonlibrary’s picture

I've made some modifications to get it working, but they aren't ideal.

1) In sunmailer.admin.inc, I changed '#default_value' => variable_get('sunmailer_method', 'mail'), to
'#default_value' => variable_get('sunmailer_method', 'smtp'), .

2) But then SunMailernewsletter.class.php still tried to process it as if 'mail' was selected. (See the switch at line 34.) So I copied the code for case 'smtp' to case 'mail'.

And now it works! But, as I said, this isn't ideal, so I'm leaving the issue open. In (1) my guess is there's something wrong with the form. Not sure in the other case. This is the best I could do...for now!

Mike Wacker’s picture

Status: Active » Fixed

http://drupalcode.org/project/sunmailer.git/commit/9bf15d6

The value you selected was being saved in the database, and SMTP would be used in the mail. It was a UI bug, the mail option was being displayed on the form regardless of what option was currently enabled and saved in the database.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.