Author Topic: Purchase orders emails not sending  (Read 20785 times)

induc916

  • Beginner
  • *
  • Posts: 26
Re: Purchase orders emails not sending
« Reply #15 on: August 06, 2009, 18:35:47 pm »
well shit now the new order confirmation won't send any ideas

induc916

  • Beginner
  • *
  • Posts: 26
Re: Purchase orders emails not sending
« Reply #16 on: August 06, 2009, 23:03:07 pm »
bump any help please would like to get this working asap.

joomla 1.5.3, virtu 1.1.3 new customer emails come thru ok. order updates come thru ok. I change the ps_order as above and that made those work. But new orders are still not comming thru to admin or customer.

Also for some reason I can't update the store. I save the store info and it looks like it works but then go back and its empty.

I'm willing to pay anyone to who can help fix these issues and get this store live.

tioni

  • Beginner
  • *
  • Posts: 2
    • tionitaylor.com
Re: Purchase orders emails not sending
« Reply #17 on: January 07, 2011, 17:05:14 pm »
Hi dragonmago,

I've changed that part of the file ps_order.php (lines 284...) to

Code: [Select]
$from  = $dbv->f("contact_email") ? $dbv->f("contact_email") : $GLOBALS['mosConfig_mailfrom'];
$result = vmMail( $from, $dbv->f("vendor_name"),
$db->f("user_email"), $mail_Subject, $mail_Body, '' );

So if contact_email is empty, it uses the global "mail from" address.
Does that help?

ciao, Sören

Sören Do you know where I can change this code.... I'm having the error when trying to send emails to customer to notify them of status changes.
error: Warning: Could not send a message to Suzette Akana, ()

I've changed my global mail settings, and know it's not in the site, cause other components can send mail without a problem.

I'm running virtuemart 1.1.5 in Joomla 1.5.20

This is the last fix I have before going live on my site.. and would like to try to insert this code into the ps_order.php file, but don't know exactly where to place it. 

Thank you