Woocommerce notification emails not sending. Invalid format for email address.

Web - Steve Hofmeyr 0 Reputation points
2024-04-03T08:50:44.1933333+00:00

We are unable to get our Wordpress site hosted on Azure to send Woocommerce email notifications. It is sending other emails, but not to clients. Error:

Invalid format for email address: "name of client" Click here for more support.

See Woocommerce systems report below:

WordPress Environment

WordPress address (URL): https://stevehofmeyr.co.za

Site address (URL): https://stevehofmeyr.co.za

WC Version: 8.7.0

REST API Version: ✔ 8.7.0

Action Scheduler Version: ✔ 3.7.2

Log Directory Writable: ✔

WP Version: ❌ 6.4.3 - There is a newer version of WordPress available (6.5)

WP Multisite: –

WP Memory Limit: 512 MB

WP Debug Mode: –

WP Cron: ✔

Language: en_ZA

External object cache: ✔

Server Environment

Server Info: nginx/1.24.0

PHP Version: 8.2.15

PHP Post Max Size: 128 MB

PHP Time Limit: 120

PHP Max Input Vars: 10000

cURL Version: 8.5.0

OpenSSL/3.1.4

SUHOSIN Installed: –

MySQL Version: 8.0.35

Max Upload Size: 50 MB

Default Timezone is UTC: ✔

fsockopen/cURL: ✔

SoapClient: ✔

DOMDocument: ✔

GZip: ✔

Multibyte String: ✔

Remote Post: ✔

Remote Get: ✔

Database

WC Database Version: 8.6.1

WC Database Prefix: wp_

Total Database Size: 14.29MB

Database Data Size: 10.18MB

Database Index Size: 4.11MB

wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB

wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB

wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_woocommerce_order_itemmeta: Data: 0.09MB + Index: 0.09MB + Engine InnoDB

wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB

wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_actionscheduler_actions: Data: 0.44MB + Index: 0.50MB + Engine InnoDB

wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_actionscheduler_logs: Data: 0.28MB + Index: 0.25MB + Engine InnoDB

wp_azure_email_logs: Data: 0.14MB + Index: 0.00MB + Engine InnoDB

wp_bwf_action_claim: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_bwf_actions: Data: 0.02MB + Index: 0.09MB + Engine InnoDB

wp_bwf_contact: Data: 0.02MB + Index: 0.06MB + Engine InnoDB

wp_bwf_contact_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_bwf_options: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_bwf_wc_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_bwfan_abandonedcarts: Data: 0.02MB + Index: 0.09MB + Engine InnoDB

wp_bwfan_automation_complete_contact: Data: 0.02MB + Index: 0.06MB + Engine InnoDB

wp_bwfan_automation_contact: Data: 0.02MB + Index: 0.09MB + Engine InnoDB

wp_bwfan_automation_contact_claim: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_bwfan_automation_contact_trail: Data: 0.02MB + Index: 0.08MB + Engine InnoDB

wp_bwfan_automation_step: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_bwfan_automationmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_bwfan_automations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_bwfan_message_unsubscribe: Data: 0.02MB + Index: 0.11MB + Engine InnoDB

wp_cf7_vdata: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_cf7_vdata_entry: Data: 0.05MB + Index: 0.00MB + Engine InnoDB

wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_comments: Data: 0.14MB + Index: 0.09MB + Engine InnoDB

wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_options: Data: 4.08MB + Index: 0.11MB + Engine InnoDB

wp_postmeta: Data: 1.48MB + Index: 0.33MB + Engine InnoDB

wp_posts: Data: 0.41MB + Index: 0.06MB + Engine InnoDB

wp_pv_commission: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB

wp_w3tc_cdn_pathmap: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_w3tc_cdn_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB

wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB

wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB

wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB

wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB

wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB

wp_wc_orders_meta: Data: 0.33MB + Index: 0.19MB + Engine InnoDB

wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB

wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_wcpv_commissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_wcpv_per_product_shipping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_wfco_connectormeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wfco_connectors: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wfco_report_views: Data: 0.02MB + Index: 0.05MB + Engine InnoDB

wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB

wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB

wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_wpmailsmtp_email_tracking_events: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wpmailsmtp_email_tracking_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

wp_wpmailsmtp_emails_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

wp_wpml_mails: Data: 0.02MB + Index: 0.03MB + Engine InnoDB

wp_wt_iew_action_history: Data: 0.08MB + Index: 0.00MB + Engine InnoDB

wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB

Post Type Counts

attachment: 77

custom_css: 1

customize_changeset: 1

nav_menu_item: 7

page: 12

portfolio: 1

post: 2

product: 12

product_variation: 14

revision: 133

shop_order: 41

wp_global_styles: 1

wp_navigation: 1

wpcf7_contact_form: 1

wpex_templates: 1

wpforms: 1

Security

Secure connection (HTTPS): ✔

Hide errors from visitors: ✔

Active Plugins (20)

Advanced CF7 DB: by Vsourz Digital – 2.0.1

App Service Email: by Microsoft – 1.0.0

Classic Editor: by WordPress Contributors – 1.6.3

Contact Form 7: by Takayuki Miyoshi – 5.8.7

WPBakery Page Builder: by Michael M - WPBakery.com – 7.1

Order Export & Order Import for WooCommerce: by WebToffee – 2.4.9

SVG Support: by Benbodhi – 2.5.5

WooCommerce: by Automattic – 8.7.0

Total Theme Core: by WPExplorer – 1.8

W3 Total Cache: by BoldGrid – 2.7.0

WooCommerce Product Add-ons: by WooCommerce – 5.0.0

WooCommerce Product Vendors: by WooCommerce – 2.2.6

Sequential Order Numbers for WooCommerce: by SkyVerge – 1.10.1

The Courier Guy Shipping for WooCommerce: by The Courier Guy – 5.1.0

WP File Manager: by mndpsingh287 – 7.2.5

WP Mail Logging: by WP Mail Logging Team – 1.12.0

WP Mail SMTP Pro: by WP Mail SMTP – 4.0.2

WPForms Lite: by WPForms – 1.8.7.2

Sequential Order Numbers for WooCommerce: by WebToffee – 1.6.0

Yoco Payments: by Yoco – 3.4.0

Inactive Plugins (2)

Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.1

Smush: by WPMU DEV – 3.15.4

Dropin Plugins ()

advanced-cache.php: advanced-cache.php

db.php: db.php

object-cache.php: object-cache.php

Settings

API Enabled: –

Force SSL: –

Currency: ZAR (R)

Currency Position: left

Thousand Separator:

Decimal Separator: ,

Number of Decimals: 0

Taxonomies: Product Types: external (external)

grouped (grouped)

simple (simple)

variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)

exclude-from-search (exclude-from-search)

featured (featured)

outofstock (outofstock)

rated-1 (rated-1)

rated-2 (rated-2)

rated-3 (rated-3)

rated-4 (rated-4)

rated-5 (rated-5)

Connected to Woo.com: –

Enforce Approved Product Download Directories: ✔

HPOS feature screen enabled: –

HPOS feature enabled: –

Order datastore: WC_Order_Data_Store_CPT

HPOS data sync enabled: ✔

Logging

Enabled: ✔

Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2

Retention period: 30 days

Level threshold: –

Log directory size: 5 MB

WC Pages

Shop base: #202 - /shop/

Basket: #203 - /basket/

Checkout: #204 - /checkout/

My account: #205 - /my-account/

Terms and conditions: ❌ Page not set

Theme

Name: Brood en Botter

Version: 5.10

Author URL: https://www.broodenbotter.co.za/

Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build

personally we recommend using a child theme. See: How to create a child theme

WooCommerce Support: ✔

Templates

Archive Template: Your theme has a woocommerce.php file. You will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.

Overrides: Broodenbotter/woocommerce/archive-product.php

Broodenbotter/woocommerce/checkout/form-checkout.php

Broodenbotter/woocommerce/loop/loop-start.php

Broodenbotter/woocommerce/loop/orderby.php

Broodenbotter/woocommerce/loop/pagination.php

Broodenbotter/woocommerce/single-product/meta.php

Broodenbotter/woocommerce/single-product/rating.php

Broodenbotter/woocommerce/single-product/tabs/tabs.php

Broodenbotter/woocommerce/single-product/title.php

Admin

Enabled Features: activity-panels

analytics

product-block-editor

coupons

core-profiler

customer-effort-score-tracks

import-products-task

experimental-fashion-sample-products

shipping-smart-defaults

shipping-setting-tour

homescreen

marketing

mobile-app-banner

navigation

onboarding

onboarding-tasks

product-variation-management

product-virtual-downloadable

product-external-affiliate

product-grouped

product-linked

remote-inbox-notifications

remote-free-extensions

payment-gateway-suggestions

shipping-label-banner

subscriptions

store-alerts

transient-notices

woo-mobile-welcome

wc-pay-promotion

wc-pay-welcome-page

Disabled Features: customize-store

minified-js

new-product-management-experience

product-pre-publish-modal

settings

async-product-editor-category-field

Daily Cron: ✔ Next scheduled: 2024-04-03 17:13:14 +02:00

Options: ✔

Notes: 75

Onboarding: completed

Action Scheduler

Complete: 1,186

Oldest: 2024-03-03 15:18:05 +0200

Newest: 2024-04-03 10:39:29 +0200

Failed: 9

Oldest: 2024-02-28 11:27:21 +0200

Newest: 2024-03-28 15:20:58 +0200

Pending: 11

Oldest: 2024-04-03 11:35:33 +0200

Newest: 2024-04-08 14:03:04 +0200

Status report information

Generated at: 2024-04-03 10:47:46 +02:00

`

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,173 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 28,036 Reputation points Microsoft Employee Moderator
    2024-04-04T18:29:42.5033333+00:00

    To assist you better on this issue, could you please provide the following info:
    Since you have posted the question on Azure App Service?
    Is your WordPress webapp hosted on Azure WebApp or on Azure VM or some other Azure service?
    Are you referring to any Azure doc for the steps/process?
    Does it work fine locally? You would typically setup and config WordPress site, as you would on-prem.

    Typically, just to highlight, the error message you’re seeing suggests that the email address format for the client is invalid. This could be due to special characters in the “From” name or “From” address fields in your WooCommerce email settings.

     

    You may want to know, the WordPress on App Service can integrated with Azure Email Communication service to enable email feature. You take a look at the approach outlined in this article WordPress on Azure AppService - Email Integration.

    On App Service: The wp-config.php files can be updated using either Kudu console or FTP Client (such as FileZilla).

    1. Browse to Kudu : http://”yoursitename”.scm.azurewebsites.net. Example: if your Azure App Service Web App name is “testwebapp”, then surf to http://testwebapp.scm.azurewebsite.net
    2. Click ‘Debug Console’ and select ‘CMD’ Traverse to wwwroot folder
    3. For WordPress, update wp-config.php -make necessary changes, and save.

     

    Enable WordPress Error Logs and fetch more info.

    We may have to re-tag to receive insights from the targetted audience/SMEs.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.