• Resolved Darqy

    (@darqy)


    Hi, actually your plugins is what I need I just can’t get the emails to work.
    Here is what I did.
    I installed the plugin, setup a subscriber email as a test.

    Now any way to send an email fails:
    – Manually sending an Email I got following error:
    “Unable to send email: Undefined property: stdClass::$subject.”
    Of course I entered a subject.
    – Sending email template preview:
    “Unable to send email: .”
    – Register a new email address via the widget:
    “Unable to send email: Function ereg() is deprecated”
    The email is registered in subscribers.

    The Log is completely empty. Any ideas.
    Thanks

    http://wordpress.org/plugins/simple-subscribe/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Hm, super weird. Let me check. What PHP version are you using?

    Also, “Unable to send e-mail” is a message from your server (not my plugin, my plugin just catches that message), do you have e-mail functionality on your server set up?

    Are you trying to run this on your localhost? 127.0.0.1, that usually fails – if itΒ¨s not set up correctly.

    Mart

    Also – log is for cron jobs, and cron job errors πŸ™‚ If e-mail fails to be sent in background process, its gonna end up in log. If you use frontend send, – and it tells you the message on the screen – it’s pointlesss to save it in log, innit.

    Hi Mart
    This is your friend from Sweden again.
    I have the same problem. My site is hosted by one.com and I have been in contact with them about this. One question though – how do you get hold of the mail server information? There is nothing about smtp in the plugin settings.

    Anders
    PS: I have passed on your greetings to SuperRetards in Sweden. Have not heard anything from them yet but I think it’s too early in the day πŸ™‚

    When it’s both of you, it’s serious πŸ™‚ Gonna look for this now and make an update with some changes if I find any flaws …

    Mart

    Try the latest update,

    Here’s the deal:

    1. We’re using PHPMailer to send e-mails
    2. Function ereg(), here’s the problem with this error, I can’t find a single referrence to this function in whole Simple Subscribe (including nette framework).
    3. I’ve made a fallback for when a subject fails to be connected to a message.

    Let me know,
    Mart

    Anders oh yeah really? It was kinda joke but they’ll be happy to know they have motard friends all over the world πŸ˜€

    Thread Starter Darqy

    (@darqy)

    Uff I found the problem.
    I had to setup the Email Adress for Scripts, didn’t think of that yesterday evening ;). By default nothing was configured. You have to do that via the Admintool of your webspace (in my case hosteurope). Works fine now πŸ™‚
    Sorry for the trouble.

    Hi there Darqy, can I ask what hosting provider are you on? πŸ™‚ Can I add this to FAQ as well, since some people might need this solution as well.

    I wasn’t aware of that, sicne by default – all my 2 hosting providers allow me to select sender’s email straight from the code – which I do. But in this case, I’d put this in FAQ and maybe in setting as well, as info box on the side.

    Thanks a lot,
    Mart

    Thread Starter Darqy

    (@darqy)

    I am using Hosteurope.
    If I want to configure the setting I had to go to the Administration Page of my Webhosting Product select “Scripts” and select “Standard EMail”. None was set here and I had to choose one.
    Hope this helps
    Thank you

    Sorry but my problem still remains. But last time I tried I got this message: Unable to send email: Undefined property: EasyColumns::$use_custom. IΒ΄ve installed Version 1.1.4.4

    I wait for one.coms support to get back to me.

    Anders

    Hi there Anders,

    again, this is not a piece of code from my plugin. I presume it relates to WP Easy Columns, because someone already had a problem with that same error, maybe that is cuasing an error before excecuting my part of the code.

    Mart

    Maybe it would help, if you supress errors on your installations. (my plugin will still work, becuase it catches exceptions and displays them / logs them if it’s cron job)

    Mart

    Hi there
    Now I have updated to 1.1.4.5. Sending mail seems to work now, except when I try to send to all my subscribers. Then I get this error message: Unable to send email: Declaration of C_Lightbox_Library_Mapper::initialize() should be compatible with that of C_CustomPost_DataMapper_Driver::initialize().

    Any ideas?

    Anders

    Well hello Anders!,

    we seemed to be locked in an endless loop, again, this is an error of another plugin, and again it’s been pointed out http://wordpress.org/support/topic/latest-update-broke-page?replies=18 right here. I presume you used WP Linked in as well, and I don’t need a crystall ball to find out πŸ˜€

    From my point of view, you either stop using my plugin, or, supress all the php errors (error_reporting(0);) or slowly one by one fix errors in those plugins :))

    Regards,
    Mart

    Hi Mart
    Sorry for being so annoying. But your plugin is just what I want. I really want to make it work.

    I just want to communicate my progress here. Do you have any comments, I will be grateful, as my WP knowledge is not the best.

    So far I have seen that the plugin NextGEN Gallery by Photocrati is in conflict with Simple Subscribe. No problem with me. I can use another Gallery plugin.

    However I still get error message when NextGEN is deactivated:
    Unable to send email: set_time_limit(): Cannot set time limit due to system policy.

    When I deactivated all plugins except yours I still get error message:
    Unable to send email.

    I have send this to One.coms support.

    If you have any comments please let me know.

    Regards
    Anders
    PS: Eric from SuperRetards says hi to you πŸ˜‰

    Yes, ok,

    e-mail me directly, I’ll have a look at your installation.and run some tests.

    Mart

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Unable to send email’ is closed to new replies.