• Harald Geisler

    (@harald-geisler)


    Hello,

    I would love to use your plugin to import about 1000 users to my wordpress-site.

    So far I have set up a test file with 3 accounts and until yesterday this worked fine. The emails were send to the test users as well with a beautiful template.

    Today when I run the import it only imports the first row of the test user cvs file. Only the user in the first line is created, and the email with login credentials is not send.

    I have installed WP Mail Log and the email with credentials appears in the email log of WordPress – but it never arrives. When I select the email and hit “resend” in WordPress it appears. Also all other automatic emails from WordPress arrive.

    I have tried to install older versions of the plug-in from the version repository. With no success, also the developer version with the same results.

    After multiple installs and uninstalls (deleting) of the plugin, i noticed that all settings are preserved. Also that I can not select under SMTP settings to use standard WordPress settings because – because selecting this option greys out the save button.

    What can I do to fix the issue with just importing the first item in the csv file and not the following?

    What can I do to fix the not sending emails with log-in credentials?

    Thank you so much for your help,
    Harald

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @harald-geisler,

    Please, have a look in the log. Maybe some error or warning is being generated.

    Could you see it and tell me? WP_DEBUG activated (in the display) can be also a good option.

    Thread Starter Harald Geisler

    (@harald-geisler)

    Thanks for the fast reply.

    I am not sure how to do that – where or how do I access the wordpress log?

    Plugin Author Javier Carazo

    (@carazo)

    Thread Starter Harald Geisler

    (@harald-geisler)

    Thanks Javier,

    I am not that WordPress savvy – where would I read out such a log? Is there a console in wordpress? ( Sorry )

    If this is to complicated:
    Is there maybe a plugin that you’d recommend to read out the Debug Output?

    Plugin Author Javier Carazo

    (@carazo)

    @harald-geisler,

    No… sorry but this is the best documentation I know.

    The log is a standar PHP log.

    Thread Starter Harald Geisler

    (@harald-geisler)

    Hello Javier, this is the info from the PHP log.
    is this helpful?

    [21-Feb-2017 10:01:24 UTC] PHP Fatal error: Uncaught exception ‘phpmailerException’ with message ‘Invalid address: (setFrom) ‘ in /var/www/vhosts/web50.server23.campusspeicher.de/httpdocs/wp-includes/class-phpmailer.php:1023
    Stack trace:
    #0 /var/www/vhosts/web50.server23.campusspeicher.de/httpdocs/wp-includes/pluggable.php(352): PHPMailer->setFrom(”, ”, false)
    #1 /var/www/vhosts/web50.server23.campusspeicher.de/httpdocs/wp-content/plugins/import-users-from-csv-with-meta/importer.php(396): wp_mail(‘arald.eisler@gm…’, ‘Welcome to Hara…’, ‘<p>Welcome Aral…’)
    #2 /var/www/vhosts/web50.server23.campusspeicher.de/httpdocs/wp-content/plugins/import-users-from-csv-with-meta/import-users-from-csv-with-meta.php(316): acui_import_users(‘/var/www/vhosts…’, Array, 8104, false)
    #3 /var/www/vhosts/web50.server23.campusspeicher.de/httpdocs/wp-content/plugins/import-users-from-csv-with-meta/importer.php(469): acui_fileupload_process(Array, false)
    #4 [internal function]: acui_options(”)
    #5 /var/www/vhosts/web50.server23.campusspeicher.de/httpdocs/wp-includes/ in /var/www/vhosts/web50.server23.campusspeicher.de/httpdocs/wp-includes/class-phpmailer.php on line 1023

    Plugin Author Javier Carazo

    (@carazo)

    Yes sure, it seems like the from address you have configured is empty or bad formed.

    Thread Starter Harald Geisler

    (@harald-geisler)

    Thanks, I have changed the from blank and filled them out.
    The import is working now. All 3 test Users are imported.

    If I use PHP for mailing, all three emails leave and all arrive.

    If I use SMTP for mailing, only the third entry arrives.
    All mails are created and logged but only the third arrives. The debug log does show no entry related to emails or “import-users-from-csv-with-meta”.

    The third and last entry in the list is an email in the domain of the website
    …@haraldgeisler.com maybe that has something to do with that?

    My question: As mentioned in the beginning I am planning to import over 1000 users in one batch. Would you recommend to use the PHP function to process this or SMTP?

    Thank you.

    Plugin Author Javier Carazo

    (@carazo)

    @harald-geisler,

    Really PHP function will use a SMTP server later so it would be a good solution.

    Please remind to give us a good review or a little donation, we do all this work for free and this is the only way we can continue with this project.

    Thread Starter Harald Geisler

    (@harald-geisler)

    Hello Javier,

    Unfortunately the import stops after importing exactly 14 accounts.
    I prepared a file with 197 accounts but no matter what it stops after 14.
    I looked into the log and there is no hint to “import-users-from-csv-with-meta”.

    Any idea?

    Thank you so much,
    Harald

    Plugin Author Javier Carazo

    (@carazo)

    @harald-geisler,

    It seems like you have reached some kind of limit in your server.

    Can you talk with your hosting in order to allow more execution time?

    Thread Starter Harald Geisler

    (@harald-geisler)

    I reexamined the csv and found that the row user_nicename was blank.

    At the import I opted for:
    What should the plugin do with empty cells?
    Delete the metadata

    Is that the correct setting to handle empty cells?

    For now I loved the import of 197 entries by simply deleting the row “user_nicename” then it went through.

    Plugin Author Javier Carazo

    (@carazo)

    @harald-geisler,

    Really the correct decision is what you want to do…

    Thread Starter Harald Geisler

    (@harald-geisler)

    For now it seems to crashes when one field is empty.
    Is there a way for the plug in to handle empty fields in the csv?

    Plugin Author Javier Carazo

    (@carazo)

    Yes, it works with it but you cannot have empty fields in important strings like the one used by WordPress (usernice name for example).

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Emails not sending and only first line of csv imports.’ is closed to new replies.