Email Issues
sgriffin - August 7, 2008 - 19:47
| Project: | Openresort Community Edition |
| Version: | 5.x-1.9-3 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
There seems to be no way to send confirmation emails.
Booking confirmed on the transaction workflow does not send a confirmation email.
"shipping notify" does not do anything on Transactions. probably fine, confirmation notify instead?
There is no email made to the website owner/client after a booking has been made.

#1
3 identical emails are also generated after any booking.
#2
I need a bit help with the openresort too,
whenn you book something (single room) the booked room appear in the transaction workflow
then i become a message "Your itinerary is empty" so i dont have any rooms marked,
and the booked room should be mailed to the accomodator, right?
But no mails were sended
So i need help from someone who is succesfully using the openresort and the SMTP send mail
PLEASE ANYONE WHO CAN HELP :E :E
#3
you may need to test with payment COD setup. I believe, the emails are generated from the payment step.
#4
Now, you only need this:
Hello, the case is in cart.module, search this:
// If the transaction is done, tell them and send them home (this is for transaction on-line)
if ($txn->gross <= 0) {
store_send_invoice_email($txn->txnid);
drupal_set_message(t('Your order has been submitted.'));
return 'reservas';
}
but, we're not sending on-line payments, then... my solution is:
// If the transaction is done, tell them and send them home
if ($txn->gross >= 0) { // this ">" send a mail because the gross is >= 0 and go mail, fly!
store_send_invoice_email($txn->txnid);
drupal_set_message(t('Your order has been submitted.'));
return 'reservas';
}