Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 900591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T15:24:48+00:00 2026-05-15T15:24:48+00:00

OK. I finally got my zend form working, validating, filtering and sending the contents

  • 0

OK. I finally got my zend form working, validating, filtering and sending the contents to my process page (by using $form->populate($formData);)

Now, how do I email myself the contents of a form when submitted? Is this a part of Zend_form or some other area I need to be looking in?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T15:24:48+00:00Added an answer on May 15, 2026 at 3:24 pm

    You can use Zend Mail for this, Zend form does not offer such functions.. but its an nice idea.

    In your controleller, after $form->isValid();

    if ($form->isValid($_POST)) {
     $mail = new Zend_Mail();
     $values = $form->getValues();
     $mailText = 'My form valueS: ';
    
      foreach ($values as $v) {
        $mailText .= 'Value ' . $v . PHP_EOL;
          }
    
     $mail->setFrom('user@user.de', 'user');
     $mail->AddTo('Me@me.de', 'me');
     $mail->setSubject->$form->getName();
     $mail->send();
    } else {
        // what ever
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have finally got a zend view helper working using this in my helper
I finally got my permalinks working for Custom Post Types and Taxonomies using `
I finally got the Ws-Security working with CXF-BC & CXF-SE combination. I'm now trying
I've finally got the first page of my registration page working. The user has
I finally got validation working with MVVM in my Silverlight app. Now I'm wondering
I've finally got push notifications working from UrbanAirship. But now I have a problem,
I finally got apache2 with mod_wsgi working on Linux (havent much luck with windows
I've finally got my Rails Todo List app to display the Todos using Backbone's
After many hair-pulling frustrations I've finally got one version of the PerlMagick module working
Well, now that I've finally got my stupid ODBC stuff configured, I took a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.