No announcement yet.

Need to trigger and send an email

  • Filter
  • Time
  • Show
Clear All
new posts

    Need to trigger and send an email

    (I am having trouble pasting in some code -- a 403 error?) A page has a form where the contents can be printed with a JS function, javascript:window.print(). The client has requested the contents to be emailed to a specific department in the company. I am looking for suggestions for how I can accomplish this. The Sendmail function doesn't need to be Miva-based even though I prefer it.

    Last edited by ids; 06-09-21, 12:15 PM.
    What help do you need today!
    Interactive Design Solutions
    MivaMerchant Business Partner | Certified MivaMerchant Web Developer
    My T-shirt Collection is mostly MivaCon T-shirts!!
    Competitive Rates, Popular Modules, and Integrations:
    Product Copy | AutoBaskets | Waitlist Integration| Wholesale Integration

    I think you'd need to have a jquery/javascript function on that page, the captures the document.print content (that would have to be stuffed into a div so you can collect it) and then post that info (i.e., to another page where mvsmtp could capture it as a CGI variable and then email it.
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook