I have one email with one file attachment and body contains signature. When I am reading email by ImapX I can't getting file attachment.
When Email contains Attachments and EmbeddedResources (like signature in body part) in this case email message only showing EmbeddedResources but not showing Attachments.
I am using "ImapX 2.0.0.18 Binaries\v3.5\ImapX.dll" in Visual Studio 2010.
Is there any Solution for above issue?
one alternative is going back to ImapX 2.0.0.16, many are complaining about attachments not showing up in the latest version.
I had this problem too but returning to the previous version, fixed the issue for me.
Sorry to drop in so late, but as Josho Martínez stated, the only way in order to show the attachments is to go back to the 2.0.0.16 version, I am doing the tests with Gmail and Powershell and two emails that had attachments, were not showing in the latest version of ImapX, however, in the 2.0.0.16, that same code (pointing to the old dll) began to show them and to download them.
Hope it helps
I also had this issue and I tried going back to V 2.0.0.16, but this did not correct the missing attachments in ImapX.message
This is what worked for me:
The attachment you are looking for may be in EmbeddedResources rather than Attachments.
Within an ImapX.message attachments are of type ImapX.Attachment. EmbeddedResources are also of type ImapX.Attachment.
Iterate through the ImapX.Attachment(s) in EmbeddedResources and look for your attachment. You can look at the ContentType.MediaType of each ImapX.Attachment to see the media type.
In my case I was looking for:
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
and
"text/csv"
Once found the attachments within EmbeddedResources can be downloaded and saved just like the ImapX.message.attachments
I had a similar issue. I was scanning an IMAPX meeting invitation that had been forwarded to my dropbox (rather than being submitted directly). Because the email invite had been forwarded, the attached .ics file did not show in the 'Attachments' property... but was found in the EmbeddedResources.Attachment list.
Related
When I try to create a firebase indexing through the link that is created automatically it shows in a popup message "This page has moved to a new location. Please update your bookmarks." and it doesn't create the firebase indexing
can someone help me?
a screenshot of the message shown
My link was without the "database" word already, but when I changed the:
..google.com/v1/r/... to ..google.com/u/0/...
it worked. Note the "v1" and "r" is replaced in the working link for me.
I am using Flutter. Could be the Flutter Firestore package that needs updating, I don't know where the link is populated from exactly.
Just copy the url in the console, and remove /database/
For Eg,
Convert this
https://console.firebase.google.com/u/0/project/project-name/database/firestore/indexes?......
to,
https://console.firebase.google.com/u/0/project/project-name/firestore/indexes....
firebaser here
It indeed seems like something has been broken in a recent update. Thanks everyone for posting workarounds so quickly!
We have rolled back the change for now, so you should no longer be seeing this error. If you still see the error, please leave a comment below.
In a Drupal project, i have a basic weborm. As soon as the user submits one, an email is send with all the things he just wrote.
Example:
Imp_First_Name:%value[firstname]
Imp_Last_Name:%value[lastname]
Imp_City:%value[lastname]
Imp_Country:%value[country]
Imp_Email:%value[email]
Imp_Subject:%value[subject]
I have a problem on this line:
Imp_Subject:%value[subject]
Subject contains what the user have selected within a select list. My problem is when the website is set to chinese, all is written in chinese obviously but i don't want the chinese version to be sent. I need the english one.
For example :
In my webform, the user has the choice between 3 countries:
Afghanistan|阿富汗
Afrique du Sud|南非
Albanie|阿尔巴尼亚
I need the country name in latin alphabet ! How can i manage to do this?
thanks in advance for your help
It's a tricky one...
There is substitution and also two possible template layers. One comes from webform and second comes from mailsystem / mail handler module.
I'm assuming that the substitution is done before the template layer so the t() function should be applied either within a hook on that level or within the proper template file.
Debugging with XDebug would really help to solve the issue.
I'm need to develop a .NET 3.5 application that imports data from Quickbooks, and I decided to use DNOA to OAuthorize with them. I downloaded the latest available version (4.1.something), took a look around, then create a QuickBooksConsumer following the example of GoogleConsumer. However, there is a problem I cannot seem to solve.
The url of the QuickBooks REST services looks like this:
https://services.intuit.com/sb/{0}/v2/{1}
where:
{0} is the name of the object to get the records of (like, "invoice", or "payment");
{1} is the realmId, i.e. the id of the Company the data is required for
The problem is that I don't see how to do PrepareAuthorizedRequest with such variable urls. The function is not virtual, so I cannot override it in my QuickBooksConsumer.cs. I'm stuck.
Can you please show me the way how to do that?
Thanks in advance!
Authorizing requests to dynamically created URLs should be no problem at all. Just wrap any URL in a MessageReceivingEndpoint and send it through ConsumerBase.PrepareAuthorizedRequest and you're good to go.
About "Direct Return" it is written here to choose "Header Redirect"
(3. Under Direct Return select Header Redirect.)
https://www.2checkout.com/shopping-cart/ubercart/
But it is written here to choose "Given links back to my website"
(3. Under Direct Return select Given links back to my website.)
http://www.ubercart.org/forum/support/31330/configure_2checkout_payment_ubercart_drupal_6
Do you know if given links back to my website is definitively the option to select?
More info about "How Does The Return Process Work?"
2checkout.com/blog/knowledge-base/merchants/tech-support/passbacks-and-returns/how-does-the-return-process-work/?plain
The return method depends on the version of the extension you are using. If you are using the version found at https://github.com/craigchristenson/ubercart-3-2checkout you use Header Redirect. The 2Checkout extension that is included in the Ubercart core uses Given Links back to my Website. Unfortunately the return function in the 2Checkout module that is included with UberCart has a bug and will not be fixed until the next release. In the mean time I suggest using the extension referenced at the URL above. If you have any trouble with your integration, you can contact 2Checkout directly for integration assistance.
Ok I think that I have found the solution here:
http://www.ubercart.org/project_issue/access_denied_2checkout_order_completion
1
The problem does not appear to be related to SSL. Their is an error in the ubercart 2Checkout return script that is causing this return issue. Ubercart is trying to verify the MD5 hash that is being passed back using a hash of secret word, vendor number, merchant_order_id, total which is incorrect and causing the validation to fail. To correct the issue please open the following file "drupal/modules/ubercart/payment/uc_2checkout/uc_2checkout.pages.inc" and edit line 20 so that it matches the following:
$valid = md5(variable_get('uc_2checkout_secret_word', 'tango') . $_POST['sid'] . $_POST['order_number'] . $_POST['total']);
So it really mean that there is no good 2checkout module for Ubercart and that the only solution is to hack line #20 ?
Ubercart has these issues addressed in the dev branches of UberCart 2 and 3. You can also get just the fixed 2Checkout modules at the URLs below:
UberCart-2 Drupal-6
https://github.com/craigchristenson/ubercart-2-2checkout
UberCart3 Drupal-7
https://github.com/craigchristenson/ubercart-3-2checkout
I'm quite new to Plone and as you can read in the Title line I'm working with Plone 4.
Despite being new to both plone and Python, I've managed to get a fully working page to send rich text mail messages to user-selected members of my web site.
What I've done is basically clone (i.e. copy and rename) the sendto, sendto_form, and sendto_template and editing them in order to get what i needed.
As I've said it works quite fine but I need to add a CC recipient, but the MailHost.send() method does not allow for a CC header (and though the secureSend method allows for it, it is a deprecated method in Plone 4).
I've also used a template to let the user add an attachment, the template is available at How to send mail with attachments in Plone using a template approach?.
I know that the python email.Header function does exactly what I need, but when I try to import the library I get an insufficient privileges error (I'm logged in as admin).
I've also tried to work around it by using the following approach:
templ="""Subject: %(subject)s
From: "%(send_from_name)s" <%(envelope_from)s>
To: %(send_to_address)s
CC: %(send_cc_address)s
Content-Type: text/html; charset=UTF-8
Reply-To: %(send_from_address)s
%(comment)s
--
%(signature)s
"""
message=templ % variables
context.MailHost.send(message.encode("utf-8"),encode="quoted-printable")
It works almost fine but can't accept accented characters (which are very common in Italian language).
Any ideas?
Thx in advance,
Luca
You're reaching the limits of the secure python scripting environment you can use TTW in plone. The email module is not allowed to be imported in this type of script.
The old secureSend method on the MailHost object used to have an method parameter for cc which seemed to have been removed in the latest version which only has a "send" method and no cc parameter.
This means you'll have to move the code to a product on the file system in a view in order to use the cc part.