osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go
get it now
smtp outgoing mail not in sent items
Mail is working fine, receiving and sending, but there is no copy of sent items on the mail server. I am using smtp, so what am i doing wrong?
Is that normal and is there any if yes, is there any way to change that so a copy will be left on the server send mail folder?
Thanks
Comments
Isn't 'fetched email' for the incoming emails?
What about outgoing? How do I get them to be saved on the mail server?
When you fetch mail osTicket is usually configured to delete [default and recommended] the copy on the mail server after fetching.
How do I set an option to save the SENT mail on the server?
Thanks
You could setup an email list as your primary staff email on the mail server (and plug that into osTicket) and have it email several users one of which is your save user. Exchange has the ability to CC people who email individuals. I presume that postfix etc also has something similar.
Its not a deal breaker, but it would be handy to have an email copy of every sent message.
Appreciate all the help!
The way osticket works at the moment, email replies are only stored inside osticket, and there is no external copy of the email stored on the mail server.
You would probably have to configure outbound SMTP to use a specific address for all email, or configure your server to intercept it.. most SMTP servers don't actually archive passing messages, as that isn't the standard. (If you think about it, your message passes through quite a few SMTP servers before reaching the endpoint, if each one saved each message, they would quickly fill up!).
What server are you using? I'm sure you can add a filter or rule or something to send messages from your osTicket install into a specific folder, or, if you can't hack your email server, and frankly, that is probably the worst way, simply add a BCC header on each message:
Inside /include/class.mailer.php
find:
Modify to:
From: http://stackoverflow.com/questions/6325197/php-additional-bcc-email
I know for example when using a mail client (like thunderbird) by default outgoing emails are only stored locally (on the pc, in a thunderbird db), but there is an option in the settings which allows a copy to be saved on a specified folder on the mail server. This is handy when people share the same email, it easy to see incoming and outgoing messages. I was hoping for something like that.
We are using mediatemple, they have dedicated mail server which we dont have any access too (other than send/receiving mail), so not going to be able to hack anything.
I guess this BCC option might work for us, but one more question .... since we have 2 incoming mail accounts (one for sales, one for support), it is possible to have a different BCC for each account ? (depending on is being used to reply with)
Where you set the sales/BCC & support/BCC addresses..
That might work, haven't tested it.
If you wanted a few more addresses, you could easily add a field to the Email class/table and Admin forms allowing you to specify in the Admin console the BCC address for each.
The beauty of this method, is that you skip all the alerts and such.
Not sure if you actually get the "entire thread" though, as this will only capture messages "sent" by the system, not messages sent "to" the system.. Although you say you already have received messages.. so this could be the ticket, as it were.
What could be wrong?
Second version is based on the associative array form like the others.
Ie:
I'll give it a test tomorrow.
Will do a little more testing today, but I think this workaround solves my problem.
Thank you so much for all the help!
Hi All
I have configure osticket successfully.
Now when i am trying to request ticket from [email]user@domain1.com[/email] send successfully but not getting any mail alert in my configured mail id [email]user2@domain1.com[/email].
And the same thing happen at the response time, here i am not getting any response mail in my requesting id i.e. [email]user1@domain.com[/email]
Thanks in advance
So basically the BCC is not being totally hidden as it should.
Any suggestions on how to make the BCC work correctly and totally hide it from the outgoing mail ?
As for the actually hidden bcc bit.. Not sure, can't say I've ever looked at one that I knew had a bcc.. you've got me interested now.
Its very strange because I'm getting the BCC mail (the email account specified in the BCC receives the email), so thats working fine, but its also being shown to the main recipient, which kind of defeats the purpose of BCC :confused:
So it looks like the BCC has to be added before the other headers.. Might just be an ordering issue, pretty cool that it send the email anyway!
Thanks!
http://stackoverflow.com/questions/3797239/insert-new-item-in-array-on-any-position-in-php
Or, if that doesn't work, you can simply:
thanks!