You need to be logged in to post in the forums. If you do not have an account, please sign up first.
esafe report not working
My organization uses Aladdin's email security solution named esafe.This product scans incoming mail and sends a report containing all blocked messages in the shape of a form where you can select to 'release' or 'learn and release' the mail from the quarantine back into your inbox.
Problem: Opera mail can display this form but when hitting 'Submit',' an empty email is generated instead of an email with the desired release directions to esafe.
Here's what the esafe report looks like in code -
http://files.myopera.com/Shoham/files/esafe.txt
O.K. Understood.
Looks like you'll have to contact Alladdin, see what they can do and see if you can push the update to your organization.
Meanwhile, I'll try to look for a workaround.
Looks like you'll have to contact Alladdin, see what they can do and see if you can push the update to your organization.
Meanwhile, I'll try to look for a workaround.
Actually, it probably won't work in mail anyway. Opera doesn't execute JS in emails and the JS is needed to work around severe bugs in Opera with <form action="mailto:".
In Opera's defense, action="mailto:" is ancient. Barely anyone uses it and there's a good reason. Its behavior isn't defined and is inconsistent across browsers. It also differs between method="get" and method="post". Only HTML5 (which is not final) defines action="mailto:" behavior and no browser supports that yet.
But, even if the JS could be executed in the email, you'd need some way to identify as Firefox and there isn't in this case. (Unless you could get Aladdin to fix it.)
In Opera's defense, action="mailto:" is ancient. Barely anyone uses it and there's a good reason. Its behavior isn't defined and is inconsistent across browsers. It also differs between method="get" and method="post". Only HTML5 (which is not final) defines action="mailto:" behavior and no browser supports that yet.
But, even if the JS could be executed in the email, you'd need some way to identify as Firefox and there isn't in this case. (Unless you could get Aladdin to fix it.)
Actually, it never works from the email - not even in Outlook. You have to open the message in a browser in order to submit a request.
Oh, so it's file.html attached to the message. In that case, you'll have to save it to disk and then open it. Then, you can add a site preference for localhost and identify as Firefox. (But, that will affect all pages, so remember that.)
You won't be able to just open the attachment as you can't add a site preference for "attachment:/" pages.
Or, you can just modify the page before you load it and change the script in it to:
As in, get rid of all the browser detection.
function mailMe(){
var Result = "";
var forms = document.forms[1];
var action = forms.action;
var inputs = document.getElementsByTagName('INPUT');
var requester = 'requester=' + inputs[0].value + "&" + String.fromCharCode(0x0A);
var selects = document.getElementsByTagName('select');
for (var i = 0; i < selects.length; i++) {
var selopt = selects[i].options[selects[i].selectedIndex].value;
if (selopt != "NoAction") {
Result += selects[i].name + '=' + selects[i].options[selects[i].selectedIndex].value + "&";
}
}
location = action + "&body=" + escape(requester) + escape(Result);
return false;
}
As in, get rid of all the browser detection.
I tried your suggestions but still no success.
The file showing for "view in a browser" in Outlook is a mhtml file, which, when opened in Opera generates an empty email. When saving it as a regular html the email generated looks to short and doesn't do the job.
I resigned to checking the spam filter on Outlook. Bah.
The file showing for "view in a browser" in Outlook is a mhtml file, which, when opened in Opera generates an empty email. When saving it as a regular html the email generated looks to short and doesn't do the job.
I resigned to checking the spam filter on Outlook. Bah.
Forums » Opera for Windows/Mac/Linux » Opera mail, chat and news