Announcement

Collapse
No announcement yet.

Need to trigger and send an email

Collapse
X
 
  • 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.

    Scott
    Last edited by ids; 06-09-21, 12:15 PM.
    Need to offer Shipping Insurance?
    Interactive Design Solutions https://www.myids.net
    MivaMerchant Business Partner | Certified MivaMerchant Web Developer
    Competitive Rates, Custom Modules and Integrations, Store Integration
    AutoBaskets|Advanced Waitlist Integration|Ask about Shipping Insurance Integration
    My T-shirt Collection is mostly MivaCon T-shirts!!

    #2
    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., jquery.post) 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
    phosphormedia.com

    Comment

    Working...
    X