• Resolved rushu25

    (@rushu25)


    Just installed the plugin few hours back. However, I am unable to send and receive e-mails. I have not added any subscribers in the list except my personal mail ID.

    Under “How to Send Your Mail”, I selected Gmail. Inserted username: [email protected] and password and selected SSL Encryption. The Mail throttling option automatically changes to “My mail is sent through Gmail” with predefined no. of mails to be sent every hour.

    While Testing the Mail Settings, I get following error:

    “SMTP ERROR: Failed to connect to server: Connection refused (111)
    SMTP connect() failed.
    Error sending mail”

    I changed the Mail Sending type to “WordPress mail”. I do not get any error while testing the mail settings. But I didn’t receive any test message.

    I tried different options – changed my username to try different mail accounts including my personal e-mail ID. But I get the same Connection error as stated above.

    Please help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi there

    Thank you for getting in touch with us.

    Please confirm if your email address is being hosted by Gmail, or if it’s run directly through your website’s server?

    Please also advise what host name you are using, and if possible, which hosting company is the site currently hosted on?

    Thread Starter rushu25

    (@rushu25)

    Yes. My e-mail address is hosted by Gmaiil.

    I am running my wordpress site: https://psheth.com hosted on GoDaddy.

    Hi there

    I’ve dug a bit online and found that some hosts require the mails to be sent out via a different method (authentication changes slightly when sending via Gmail).

    I’m going to add this as a bug to the plugin’s repo and will push for it to be fixed early next week. My sincerest apologies for any inconvenience caused by this.

    Thread Starter rushu25

    (@rushu25)

    Hi,

    I installed Postman SMTP plugin which allows the OAuth 2.0 integration with Gmail. Its working now with WP_mail option selected under E-mail Settings.

    However, I came across another issue. When I want to add Blog Post in the newsletter campaign, I get only an excerpt of about 3-4 lines of the post (255 chars). I increased the no. of characters to 1000 under the Options tab; but it does not change the length of the excerpt. In my posts, I have already assigned the “Insert Read More Tag” after about 10,000 chars. Please help.

    Regards,
    Rushabh.

    Hi Rushabh

    So glad to hear you came right with this. My apologies for any inconvenience caused.

    The plugin will by default only use the excerpt limit which is set in the plugin’s code. This may require a minor change in the plugin’s code to work around this – would you be comfortable with this? I’ll walk you through the steps of changing this.

    Thread Starter rushu25

    (@rushu25)

    I’m not a programmer. But I can try. Please walk me through the steps.

    Also, I wish to import about 250 subscribers. Whether I’ll be able to send emails to all the 250 at once?

    Hi Rushabh

    Please go to sola-newsletters/modules/module_editor.php and scroll down to approximately line 719 where you’ll find a line of code that looks like this:

    $excerpt_length = apply_filters('excerpt_length', 55);. You can change the excerpt length here.

    If you’d like to remove the use of an excerpt, scroll down to line 729 and 730 where you’ll find two lines of code that looks like this:

    remove_filter('get_the_excerpt', 'wp_trim_excerpt');
    add_filter('get_the_excerpt', 'wp_new_excerpt');

    Please comment these two lines out so that they look like this:

     //remove_filter('get_the_excerpt', 'wp_trim_excerpt');
    //add_filter('get_the_excerpt', 'wp_new_excerpt');

    I hope this helps?

    • This reply was modified 7 years, 10 months ago by Jarryd Long. Reason: Code formatting edit
    Thread Starter rushu25

    (@rushu25)

    Hi,

    Thanks a lot for suggesting the code changes.

    And sorry again to trouble you with another fresh issue. Earlier, I was testing this plugin by sending test mails under “Test Your Mail Settings” as well as sending the Newsletter Preview which worked perfectly well. I have created campaign “scheduled to post when new content is added: Immediately”. However, today, I tried publishing new post; but I am unable to receive the mails. I did receive “Mail has been sent successfully” confirmation; but did not actually receive any email. I used the same email IDs (2 email IDs) for testing as well as in the Subscriber List. Would really appreciate your help. Also, any idea on the limit of emails which can be sent using the WP Mail (with Gmail configured under Postman SMTP Plugin)?

    Hi there

    Not a problem at all.

    Please go to ‘Newsletters’ -> ‘Settings’ -> ‘Cron Job’ and let me know if the dates display the current date/time or in a 1970 format?

    Gmail allows for a maximum of 500 mails to be sent per day.

    Thread Starter rushu25

    (@rushu25)

    Its the current date:

    “Next wp_cron event

    Scheduled to run at: 2017-01-18 04:50:59
    Server time now: 2017-01-18 04:50:43”

    Hi there

    Please try deleting that campaign and creating a new one?

    Did you create a standard blog post, or something with a custom post type?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Unable to send / receive E-mail’ is closed to new replies.