Send mail without blocking 'execution'

前端 未结 4 678
刺人心
刺人心 2021-01-15 06:36

I\'m using Zend_Mail in a Zend Framework application to send an e-mail with the contents of a web-based contact form.

The mailing itself works fine ( im using a Goog

4条回答
  •  旧巷少年郎
    2021-01-15 07:04

    Why don't you try this:

    1. Load the view
    2. Call an Ajax Script from within the view that will load the controller responsible for sending the email.

提交回复
热议问题