Email alerts
Submitted by gretalloyd on Fri, 16/11/2012 - 12:20
Hi,
Is there a way to have the emails that are sent directly from OpenVPMS and do not go through alerted somewhere? Do I need to set up an email address within OpenVPMS that would receive a carbon copy of all emails sent, or at least receive the bounced back emails.
Thanks,
Greta
Re: Email alerts
I have the email address that I use to send from Openvpms to have a default reply-to address as "info[at]myvet.com[dot]au" that way any SMTP failures from remote machines appear on our default mailing list that our receptionist checks everyday. Aside from that if OPEN fails to connect to your mail host and the email doesnt send it should report an error in the interface (web app) but it takes about 2minutes to do so..
My mail host allows me to set default reply-to address's some may not. At this stage openvpms does not allow the reply-to address to be set.
Ben
Re: Email alerts
Using version 1.6 I use google apps for my email and use it as a smtp server. The emails are all sent from a generic practice email address which automatically forwards incoming emails to my own email address. This way I:
Matt Y.
Re: Email alerts
Hi Greta,
Matt is correct. As you use google apps all you need to do is setup the email server on your practice locations to utilise the google mail server not the mail server for your ISP. That way any sent emails will be recorded in the from address you use. Version 1.6 supports googles secure smtp server setup so you need to setup the following:
Mail Host: smtp.gmail.com
Mail Port: 587
Mail Username: a valid user account in google .. not an alias i.e fred[at]advancedvetcare.com[dot]au
Mail Password: password for the above account
Mail Connection Security: STARTTLS
Make sure to set this up on each practice location.
The from address for emails sent by OpenVPMS is determined from the current practice locations email address as well, the purpose on this email address, and the preferred flag. Will investigate the logic but believe the purpose can be used to setup different from addresses for Reminder, Statement and General emails.
Cheers Tony
Re: Email alerts
Thanks for the reply Matt and Tony.
I have done what you described.
When I send an email to an address that I know exists (my personal email), then it goes through. However, I am not receiving a confirmation email in the info[at]advancedvetcare.com[dot]au though.
When I send an email to an address that doesn't exist, I don't receive an email in info@... :(
I do have the purpose of the email address in the contact or the practice location selected as email (see screenshot attached) Is this correct?
Also, the email I received in my personal email (the one that worked), has the sender as "Medicine". I understand this is because I am logged into OpenVPMS at Practice Location "medicine", but is it possible to have the sender ID as Advanced Vetcare instead?
Thanks,
Greta
Re: Email alerts
Hi Greta,
Just to confirm the email from address is determined as follows:
General Emails (1.6): The current practice locations preferred email address.
Reminder Emails: The current practice locations email address with REMINDER purpose attached or if no REMINDERr purpose then preferred email.
Statement Emails: The current practice locations email address with BILLING purpose attached or if no BILLING purpose then preferred email.
Re: Email alerts
You wont get a "confirmation" email, what you are able to check is login to the account via googlemail and go to the SENT items, it will show all email sent via OPENVPMS's logon. Confirmation emails may be able to be sent if there was some way of requesting a delivery/read receipt Neither of which is a reliable part of the email / smtp language.
What I have done is create each user of google apps then a subset of users are given a group to the INFO@ account, which means they ALL get emails sent to this address but I can configure it. I have created a specific user for OPENVPMS. I then gave review access to one of our admin staff, who can check sent mails if required. Alternatively you could just use your personal gmail account as the OPENVPMS access account, HOWEVER with google, you must have proven that you can send as an alias, ie REMINDER[at]vet[dot]com or INFO[at]vet[dot]com, if you havent done this via the google website it will change the reply to address to the default for the account OPENVPMS logs into (I think)
Re: Email alerts
Thanks everyone, all fixed now.
Greta