Ready to get started?Download WordPress


emails cannot be sent - price-calc (4 posts)

  1. mofsiz
    Posted 3 years ago #

    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:

    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.


  2. dicki
    Posted 3 years ago #

    Did you find the solution? I have the same problem.....

  3. adamselby
    Posted 2 years ago #

    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.

  4. armdan
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic