You can probably use wp_mail()
. You just need to create and save your excel doc first.
$attachments = array(ABSPATH . '/uploads/my.xlsx');
wp_mail($email, 'Testing Attachment' , 'This is an Excel doc', $attachments);
Related Posts:
- Hook into and send mail using WP Mail SMTP type plugin from HTML static front page?
- Contact Form 7 Plugin emails not being received by some accounts
- WordPress – send digital product with custom email
- How to create a form where you can select multiple recipients, based on a list of website users?
- How to send custom mail when a user complete a specific form
- Disable email notification after change of password
- Woocommerce – Hide “add to cart” on free products
- Let readers suggest edits from the frontend
- Where should my plugin POST to?
- How to add usermeta to “Notice of Email Change” email message
- Plugin development: how to create a form and get custom data?
- Multi step form, custom plugin
- Is there a plugin that allows a user of your site to get an email from you with an attachment?
- Contact Form 7 plugin refreshing page on submit [closed]
- Plugin form unable to process
- How to bulk send emails
- WordPress Custom Application form
- add function to saving change on Options Pages
- wp_mail() is not working on server
- WordPress plugin form not saving data
- Admin page: form with enctype=”multipart/form-data” does not transfer its data
- jQuery Plugin to use WordPress functions in AJAX request
- wp_mail attachment not working
- how to incude logo in contcat form 7 email [closed]
- How to trigger $_GET request within admin plugin page?
- Form doesn’t submit on second submit call
- Email Bounce Address
- WordPress Registration Email by Role
- Form isn’t inserting data into database with ajax plugin
- When using Simple Fields plugin, how do I pull the information out of the database to display on a page?
- Can I use custom CSS and js plugin to put JavaScript in to validate my forms
- code is working properly in Core PHP but writing coding in WordPress
- Get sent emails without email logs
- auto populate list of questions if user select a category xyz
- WordPress WPforms customization
- Display encrypted content on my website
- Adapt PHP form action for WordPress?
- Take input from form and pass it to function using a wp-plugin
- How do I make a child theme I made POST through a 3rd party plugin?
- Plugin to create forms using HTML [closed]
- Implementing an “Email this” button?
- Send admin an email when a user’s search has no results
- Looking for advice for a mail sending plugin
- How to check if an email was sent from or originated from a specific plugin?
- Plugin that will output submitted form data for user? [closed]
- Plugin to email a post or page to someone
- How do I add the same contact form to multiple wordpress sites and capture the response in one place or database?
- Collecting email addresses via a “beta” sign up form
- coding a WordPress AJAX Form using PHP to check if User is Logged Out and Show error
- Sending HTML email containing custom fields to site users from WordPress
- Gravity Forms returns to odd position
- sending different email notification while registration based on user role
- WordPress Multi-Step Product Search
- Function added to hook “new_to_publish” not executing – custom plugin
- add_meta_box creating default form field types
- Storing Form data in a different database
- Contact Form 7 “non-selectable” options in a drop down [closed]
- Plugin to send messages to members/lists but not full-blown newsletters
- In wordpress how to sent different email separetly when i click on different email ids [closed]
- Mass Mail Plugin to Email Specified User Roles [closed]
- How to append new form elements in “Add New” form of Users in WordPress admin panel?
- How can I add user profile fields to my mailpress mailout
- Looking for a simple checkout plugin [closed]
- Redirect plugin after form submit or show errors
- How do I send the contents of a form to deliver to the already existing custom field in the wordpress theme
- Can export gallery but can’t import it Wp all import
- Linking form to user meta fields
- SMTP emails not picking up the correct From name and From email
- I want to schedule email (date, time is in database->table) wp_schedule_event() not working
- Submitting form to PHP
- How can I implement radio buttons with icons in Contact form 7?
- Hide button after form submit and save state to localstorage
- Send email when a user registers Rest api
- Meta Key array building with multiple input values from fields
- Plugin to manage form submissions on admin panel
- submit form data to wordpress existing database table using my plugin
- Page takes on two different formats
- Plugin sending emails to external addresses, not internal
- Get value from an input field and pass into update_meta_data as $meta_value
- get/show Last ID
- Cron job emails blank
- Form tries to download a file on submit
- WP_Filesystem usage within a block of code
- Is there a function to search for a wildcard value when calling a shortcode?
- Create csv file in plugin
- Setup SMTP setting in wordpress
- How do I replace the e-mail form to functional e-mail subscription? [closed]
- Create plugin with form in post and submit it to specific form
- Link Forms on WordPress
- Capturing POST data
- Creating fields in the database
- Allow users to enter and edit data in one-to-many configuration
- Plugin Admin Page Ajax-Admin call returning 0, URL set correctly. Implemented localized scripts but did not fix it
- Plugin Beauty Contact Popup Form with while loop
- Build a Boat Form Plugin [closed]
- WP can’t send newsletters
- How to Allow Users to Select Recipients In a WordPress Comment section?
- Form with response button after on table after submission
- Can’t save formdata in DB
- Display file contents within Plugin