• Hi there,

    I have a problem with the price-calc tool.
    It isn’t sending the email with the form data.

    Does anyone experienced this before?

    The mailing process seems to work with the following php code:

    <?php
    
    class Mailer {
    	function send( $msg, $to = null ) {
    		$from = get_option( 'price-calc-email' );
    		if( !$to )
    			$to = $from;
    
    		$message .= "$msg\r\n\r\n";
    		$subject = get_option( 'price-calc-subject' );
    		$headers = "From: " . $from . "\r\n" . " Content-type: text/html\r\n" . " Reply-To: " . $from . "\r\n" . " X-Mailer: PHP/" . phpversion();
    
    		return @mail( $to, $subject, $message, $headers );
    	}
    }
    
    ?>

    Testwise I also installed WP Mail SMTP but nothing changed.

    Would be nice to get some help.

    Thx&Greets

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you find the solution? I have the same problem…..

    Also have this problem. I’m about to abandon it and just write my own estimator with JavaScript and HTML.. The emails worked for a while, but then stopped without any changes by me. Odd.

    Same problem here .
    I think the problem can be solved if we can make price-calc to use wordpress default mailer instead of the code above.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘emails cannot be sent – price-calc’ is closed to new replies.