After doing some research on google and woocommerce code i found the ans of the what i what.
i have use following function for to send the mail to the user once order have been generated using the custom code in wordpress woo-commerce.
WC()->mailer()->emails['WC_Email_Customer_Processing_Order']->trigger($orderId);
Related Posts:
- Adding “reply-to” in the email [closed]
- Is there a way to embed an iframe in an email with text that updates?
- Sending multipart (text/html) emails via wp_mail() will likely get your domain banned
- How to set SMTP programmatically
- Disable user registration password email
- How do you access the Product Short Description in a WooCommerce email template? [closed]
- “Reply-to Address” Email
- Disable new user notification to admin email
- Include HTML template file in wp_mail
- Email sent from WordPress has HTML tags
- How to disable automated E-Mail on PHP error/exception?
- Reset Password – change from name and email address
- Email stats at Ma.tt contact form
- wp_mail recipient array not sending?
- Transferring contact form input to an email account without using an email-proxy
- Contact Form 7 + Configure SMTP: Sender email appearing as my own email [closed]
- WooCommerce New customer email Hook? [closed]
- Sanitizing and validating email field
- Disable WP notifications for commenting on own posts
- Must I change the admin user email address while changing the general email address?
- WooCommerce: display text instead of raw checkbox value email
- Batch Emails with wp_mail()
- Subscribe from another website to the same list [closed]
- Obfuscating Email Addresses in Form Fields
- Email ‘from address’ has a www in it
- Is there no way to send email using SMTP without plugin or custom coding?
- Send email daily from WordPress site
- Mechanism to send to users of secured WordPress install new notifications by SMS or email?
- WooCommerce: The model of e-mail is displaying only the html, not css [closed]
- Add custom order meta to Order Completed email
- How to change the Customer new account email
- Is it possible to change an existing post status from ‘pending’ to ‘publish’ via email?
- WP mail sent to MS Exchange recipients = occasional email corruption?
- What can be wrong when automated backups stop being sent to email?
- Wp_new_user_notification doesn’t work
- Custom Admin Email Subject for Woocommerce (3.8.0) Orders
- How to set custom from email address in wp
- How to send mail from WordPress if one server hosts page and another email?
- How to translate WordPress Emails?
- woocommerce email template detect email recipient
- Disable email confirmation new register bbPress [closed]
- Script or plugin to send activation email automatically again after 2 hours
- How to receive an email with WordPress?
- Does the WordPress core software handle bounces on system email?
- how to email username and password to admin of new registration
- show a little contact form in homepage without plugin
- Content of post does not end up in “ShareThis” mail
- reply via email link under each post
- Woocommerce emails from gmail not being sent
- Send admin new order email to logged in user as well
- How to differentiate between email subscription list and blog subscription list?
- What emails does wordpress send?
- Requiring wp-login.php sends headers automatically
- How to stop WordPress from sending mails?
- Changed my email. Locked out
- Auto Log In Users after registration and send confirmation email
- Using PHP mail; getting Header warning
- Send confirmation email when a user’s role is upgraded
- Emailing system monitoring with WP
- WordPress site member verification emails going to spam on Outlook
- Mailing issues with wordpress?
- I want to setup a button/popup/whatever that will prompt users on the site to input their email address
- Receive no any emails from contact from 7 wordpress
- User Without Email?
- WordPress new user email formatting issues
- Email sent from WordPress has HTML tags
- email saying that was not possible to send the email
- could not call wp_email function twice
- I want to fusion the product columns in email table order
- Email post to submitter
- How can I remove the product short description from the WooCommerce Mails?
- Email verification at a later date?
- Forgot password flow does not work, getting email with a link but after clicking link it’s not working
- Send a different “thank you” email based on payment method
- WordPress eMails not working
- Contact Form 7 How to Alter the From email address?
- Custom Welcome Email | WordPress
- Get value from an input field and pass into update_meta_data as $meta_value
- Emails sent from local wp webserver are beeing rejected from Siren?
- Check if “Send the new user an email about their account” is ticked
- Conditional email recipient based off Shipping Method [closed]
- WP Mail isn’t sending user account messages, does send from plugins
- User Registration – no Email required
- Email Piping using google apps within WP Engine
- Can we validate user email changes?
- Download Free Trial After Email Entered
- Email notification
- Custom notification for contributors when posts are scheduled
- Is there a way to get the site_url in HTML code?
- User profile update author
- Allowing Loading/Downloading of .mp3
- What is the correct way to send multipart email in wordpress?
- Manual Woocommerce Complete order Emails
- Output fields manually in Woocommerce email templates
- Welcome Email Going to Spam
- WooCommerce – How to add a custom field to only a specific email template [closed]
- Where does email sent to *@example.com go? [closed]
- How to send emails and avoid them being classified as spam?
- How to change the WordPress email icon?
- What’s the optimum way to collect users’ email id?