We are trying to open Yahoo Compose Email programmatically via JavaScript.
It was working fine till now but suddenly it stopped working.
The Yahoo Compose Box opens but with empty fields, it does not populate any information like "subject" and "body".
Example-
http://compose.mail.yahoo.com/?Subject=TestSubject&Body=TestBody&To=test#yahoo.com
It will redirect to Yahoo neo launcher with blank compose window
https://us-mg6.mail.yahoo.com/neo/launch?action=compose&.rand=813078417
Came across this and found the answer.
http://compose.mail.yahoo.com/?to=TO&subject=SUBJECTMap&body=BODY
Of course change TO, SUBJECT, and BODY
Having the same problem discovered that I could append the url params to the new launcher url and remove the .rand param and it would work.
Like this
https://us-mg6.mail.yahoo.com/neo/launch?action=compose&Subject=TestSubject&Body=TestBody&To=test#yahoo.com
Related
i am trying to send an app-to-user Facebook notification with multiple href params.
the way im doing it now the link would look something like this:
https://graph.facebook.com/user-id/notifications?access_token=access|token&template=test_msg&href=?campaign=1
this sends the notification to the user just fine and when clicking the notification it takes the user to this link:
https://apps.facebook.com/mygame/?campaign=1&fb_source=notification&ref=notif¬if_t=app_notification
which also works as expected, the problem is that i want to add more parameters to this link, as in: campaign=1&tracking=2&someshit=3
i couldn't figure this out from the docs, i dunno if there is a limitation on href to only 1 param, it doesn't say so in the docs, but there is no example on how to send more than 1 param. i already tried to add more hrefs in the url but it doesn't work and only takes the last one.
iv'e seen other Facebook apps that do that like Slotomania, so i know there's a way.
Ok so obviously it was much simpler than thought. it's possible to chain multiple parameters using %26 instead of & like this:
https://graph.facebook.com/user-id/notifications?access_token=access|token&template=test_msg&href=?campaign=1%26foo=bar%26someshit=3
hope this will help someone.
BACKGROUND:
Sitefinity CMS for my specific problem, but could be general too.
I have an email message which has an unsubscribe link in it like this:
To Unsubscribe: Click or copy paste the following link in your browser.
https://www.domain.com/unsubscribe?mailingList={|MailingList.Title|}&SubscriptionEmail={|Subscriber.Email|}
{|MailingList.Title|} and {|Subscriber.Email|} are sitefinity CMS subscriber fields. When I send out an email these two fields resolve to their respective values. Hence, the URL I get in an email is as following for example.
https://www.domain.com/unsubscribe?mailingList=mymailingList&subscriptionEmail=abc#xyz.com
The user can click on it and unsubscribe from the mailing list.
My Problem:
If the mailing list name has a space in it, the link that appears on the email is broken at the first occurance of the space(link the link shown below breaks immediately =my) and hence clicking it is like clicking a invalid URL.
https://www.domain.com/unsubscribe?mailingList=my mailing List&subscriptionEmail=abc#xyz.com
I dont understand why the space in the URL doesnt resolve to a %20.
My Trial:
I changed the order of the querystrings to see if it works(mailinglist was the last string originally, I put it in the middle)
I am fine if the URL does not get resolved into a link at all, just forcing the users to copy paste the entire URL. But, I was not able to do it as well.
I have read in microsoft forums that OUTLOOK resolves the spacing issue, when the URL is surrounded by < and > like this :
URL here:
But the URL doesnt even show up in the email just like it is not showing up here above this line.
Tested on OUTLOOK, GMAIL, YAHOOMAIL, MICROSOFT MAIL. The link is broken in all email clients.
Any suggestions on what is the best solution for this?
I am not able to add new line in body yahoo mail message composing via href tag.
Following is the anchor tag for yahoo mail:
demo link
For gmail %0A is working fine for showing text in next line and br tag is working fine for hotmail.
But for yahoo and AOL I am not able find solution for showing text in next line?
Your text links might get reformatted by Yahoo! shortcuts
Here is a link to a host of other nasty thing Yahoo mail will do and how to correct it:
http://www.emailonacid.com/blog/details/C13/9_ways_to_prevent_yahoo_headaches#yahoo_tip2
I've use following URL to send message with prefill text.
http://www.facebook.com/messages/[user]?msg_prefill=[message]
ex. http://www.facebook.com/messages/facebook?msg_prefill=hello
But msg_prefill parameter seem to be depreciated on new Facebook Message layout.
http://mashable.com/2012/08/22/facebook-revamps-messages-to-look-more-like-email/
Does anyone know how to add prefill message for new layout?
I still can't send message with prefill text. But I've found another way to send link using Send Dialog.
https://developers.facebook.com/docs/reference/dialogs/send/
ex. 1
https://www.facebook.com/dialog/send?app_id=123050457758183&to=zuck&name=Hello&link=http://www.google.com/&redirect_uri=http://www.facebook.com/
However this may not working for some people (including me) as using some domains in "link" parameter cause error as this bug.
http://developers.facebook.com/bugs/284149695026014?browse=search_509788e98cb627971133933
ex. 2
https://www.facebook.com/dialog/send?app_id=123050457758183&name=People+Argue+Just+to+Win&link=http%3A%2F%2Fwww.facebook.com%2FCili.Pica%2Fapp_469715143040257&redirect_uri=http%3A%2F%2Fwww.example.com%2Fresponse
Also, Send Dialog links can't use on iPhone apps, Android apps and mobile version of facebook.
ex. 3
https://m.facebook.com/dialog/send?app_id=123050457758183&to=zuck&name=Hello&link=http://www.google.com/&redirect_uri=http://www.facebook.com/
Objective
Send out a Magento transactional email with a link back to the website with a variable on the end of the url.
Process
I pass a variable into Magento’s transactional email called link and display it using the following code in the email template.
<p>link = {{var link}}</p>
click here
Problem
The link is displayed correctly in the p tags e.g.
http://www.mysite.com/?param=1
However when i move the mouse over a tag i get the following link which prevents the link in the email from working:
x-msg://12/“http://www.mysite.com/?param=1”
Notes
I have tried this in Mac Mail and Hotmail and get the same result.
The url i am passing into the email needs to be dynamic and cannot be hard coded.
Thanks in advance for any assistance.
Turns out I had a funny double quote around the link.