Issue with Gmail contextual gadget email extractor - google-gadget

I've encountered a bug with the google.com:RecipientToEmailExtractor extractor. When receiving an email from an address looking like a.b.cdef#gmail.com (1 letter followed by 1 period), the extracted address I get is abcdef#gmail.com. The periods are removed. ab.cd.ef#gmail.com has no issues and extracts the correct address.
And the issue is only with the To address. From and CC extractors are ok.
Is there a way to correct this?
Also, since I couldn't find the proper channel to report this issue (no Google Group or issues page), where can I submit a bug report?

Google found me a link for GAS bugs: https://code.google.com/p/google-apps-script-issues/issues/list
Short-term you could write a function to always remove dots from addresses before comparing. Here's a suggestion from StackOverflow using regex: Filtering periods out of email addresses with regex You might want to consider that "+" can be used, too. See Looking for a regex to match a gmail plus address
As for the proper channel, I recall (but can't find the info now) that the Google Group for GAS at one time specified that questions should be asked in Stack Overflow. I had posted a few GAS questions in Web Apps and asked them to be migrated here for that reason.

Related

Share whatsapp link with IP address

I'm not sure if this is offtopic here but I found other WhatsApp questions.
If I share a link that contains an IP address like:
http://123.456.789.456/mystuff
WhatsApp make a link only for the numbers (like a phone numbers) ignoring all the remaining...
How to format it to tell it it's a whole link?
I understand this is not exactly the solution to the problem, but it might be beneficial for some people out there. All you have to do is use some sort of URL shortener.
For e.g. https://bitly.com/
It will create a shortened URL that can be shared on WhatsApp without worrying about any formatting issues.

Google I'm Feeling Lucky URL

So, I've spent about 2 hours trying to get the I'm Feeling Lucky URL to work. It seems the URL doesn't like the periods in the search parameter, so does anyone have any potential tricks?
Search Value= 40.840.1/8Z
The first result in a regular Google search is the correct page.
Here's what I've tried:
http://www.google.com/search?btnI=I&q=40.840.1/8Z
http://www.google.com/search?btnI=I&q=40.840.1%2F8Z
http://www.google.com/search?btnI=I&q=40%2E840%2E1/8Z
http://www.google.com/search?btnI=I&q=40%2E840%2E1%2F8Z
http://www.google.com/search?btnI=I&q=40%2F840%2F1%2F8Z
(That one was actually pretty close)
http://www.google.com/search?btnI=I&q=40%20840%201%208Z
And all of the above surrounded in quotes (%22)
The problem is that the I'm Feeling Lucky aspect doesn't work. It finds the correct results, it just doesn't navigate to the first result. I'm open to alternatives besides the I'm Feeling Lucky URL parameters as well.
I'm trying to implement this into a .NET application that provides employees with resource information, which is best received from the manufacturer's website(s). The trick is that the resources are from many different suppliers and the links need to be somewhat automatic. Basically I don't whomever manages the software to update these links. To navigate, I'm simply using the Process.Start("http://www.example.com/") command which uses the default browser to navigate to the address.
This post helped a lot by the way.
I wasn't able to get any closer than your closest one.
But if it helps, here's an alternative way of writing the "I'm feeling lucky" URL.
http://google.com/search?q=haimer+usa+40%2F840%2F1%2F8Z&btnI
What I did to find the right url is to navigate to google.com. After this I turned my internet connection off. I entered the search details and pressed submit. You can now see the url in the address bar, but it doesn't redirect you to the first result. You can now copy the url and see how google treats your dots and other weird characters.
So to recap:
Go to google.com
Turn your internet connection off
Enter search term
Press 'I'm feeling lucky'
Copy the url from the address bar
You can create a google custom search engine of your own, and either exclude certain sites or include specific sites only, use http://cse.google.com to do this.
There is a SO tag for google custom search

x-mailer header, phpmailer and spam filters

I am a newsletter plugin developer for WordPress (Knews). It uses phpmailer to send.
One user has contacted with me about an issue: all his emails (sent through phpmailer) goes to spam.
He has solved adding a header param:
$mail->XMailer...
Phpmailer uses a default x-mailer param (phpmailer) if you doesn't set it, is this value bad for spam filters? What was the better value?
Thanks,
Carles Reverter.
Setting an X-Mailer to "gibberish" can increase the bad score of Spam engines, not setting it shouldn't make any difference.
Anyway in reality it is really hard to answer this kind of questions because it varies a lot.
To answer your question I referred to this document which cites scores based on a list of rules: http://webmail.uni-weimar.de/antispam/criteria.html
As you can see there's a line citing:
'X-Mailer' line contains gibberish X_MAILER_GIBBERISH 0.001

SQL Server mail issue

I was wondering if anyone had this issue before. We have the emailer send emails out to our clients and inside this email, there is a link to their appropriate download. However, once it reaches SOME clients, the link seems to be missing a few characters (rendering the link useless).
I've check through the sysmail_mailitems but the body of the email I pull from there has the correct link. Just for some reason for some clients the characters are missing.
Has anyone had something weird like this happen? Also, the characters missing in the link are in the exact same spots.

How to make a Google Maps address - like lookup

You've probably all seen the maps.google.com.au address lookup. Start typing into the text box and your address auto completes in the list before you've finished. It also bolds the matching sections of the text that link to what you are typing.
I've used both the javascript api of maps and the http api. The geocoding seems to do something decent with the matches but i'm not entirely sure how one would go about getting this to work.
Anyway have a tutorial or a quick five step process that they would recommend I follow to get this feature going?
The feature you are looking for is "find as you type" or "suggest as you type" or AJAX live search.
To get the functionality via the Maps API is possible as any other find as you type solution. For each key entered into your search box you already send the request to the server and see what matches the entered text so far. The problem is that you can only send so many requests to google before you get a 620 (too many requests) error. Having a find-as-you-type mechanism is usually easier when you have your own small DB which you can query, that is faster and you won't have problems with too many requests.
Some links with tutorials:
Javascript Autocomplete Combobox - find as you type
Suggest as you type
AJAX Live Search