Gmail action button not working when I try to send using smtp settings - google-schemas

I am exploring gmail action button. Am sending an email from my gmail account using rails application ( gmail SMTP settings ) to my self and another domain.
but I am not able to see gmail action button. But if I send email from script.google.com to my self only, it is showing.
I have also checked header from received email and found that it is passing both SPF and DKIM checks. But still not able to see button.
Email header is https://gist.github.com/rahul100885/c8ad31f2c6a8e0542a67
Also I tried to whilelist my email address as mentioned here https://docs.google.com/a/google.com/forms/d/1PA-vjjk3yJF7MLPOVKbIz3MBfhyma2obS8NIZ0JYx8I/viewform?pli=1 but whitelist email is bouncing.
Is it, I am missing any setting?

The from: and to: addresses don't match, and your sender address is not whitelisted, that explains why the action button is not showing.
We keep getting whitelisting requests from the form you linked, you may have hit a transient issue, so I'd recommend trying again.

Related

Changing email for iOS Firebase user authenticated with email link

So I have an iOS app that uses Firebase, signs users in anonymously initially and then allows them to later add an email address, which is linked to the Firebase user using a call to:
Auth.auth().currentUser?.linkAndRetrieveData(with: credential)
This all works fine but I'm now running into the issue of being unable to update that user's email. I assumed this would work by simply sending another email link to the new email, then calling linkAndRetrieveData with the new credentials.
This, however, gives me a FIRAuthErrorCodeProviderAlreadyLinked error, because the user already has an email address. I would've expected it to just overwrite the existing email. I then tried/considered to solutions:
Unlink the email provider, then relink with the new credentials. First, this seems impossible since the stated "providerId" for an email-link-authenticated user is "Firebase", and when I feed that into unlink it fails. Second, this is bug prone because you could successfully unlink the first email and then have the link of the new email fail.
Use the provided "updateEmail" method - this doesn't work because it assumes email/password authentication, and I'm using email link authentication. Even if this did work, it would mean having an unverified email.
So I'm wondering how to do this, or if it's actually possible that this isn't supported at all. I can't believe this wouldn't be supported since it seems like a very common issue and basically makes email link authentication a nonstarter.
updateEmail() is the method to change email for signed in user, no matter how the user was created or authenticated. You are right that the new email address would become unverified. The sendEmailVerification() method can then be triggered to send a verification email to the user, so they can verify the email address.
The providerID for an email link user should be "emailLink" (Android link, since I couldn't find the iOS version quickly, and the values come from the server anyway).
But note that a linked account will always have a top-level provider of "firebase", and then have the actual values of the linked accounts in the UserInfo elements of the provider array.

Setting default from address of email in ios

In my app, there is an email functionality which should send email from an id, which is not configured with mail app. From address will be like noreplyATgmail.com .. some thing like that.
How can I hard code the from address of an email ?
It's impossible to send email from account where user isn't authorised in.
For your aims it's better implement email functionality on server side that could be authorised to send emails from address that you specified.
As per my comment - you can't, you should use reply-to for that, or send a request to a server to send the email. The from gets set from the selected email address you eventually chose to send the email with.
For example:
mailto:email#email.com?subject=Subject&reply-to=noreply#something.com
I don't think there's anyway to do this using MFMailComposeViewController.

Reply button in Email MVC 4

I am using MailerBase in MVC 4.0 to send the Email. This is working fine perfectly. My question is: When I send the Email, I want to add a button, so that when user click on this button, will send reply of the email without clicking the default button like Reply in yahoo/GMail mails.
Is it possible in .NET MVC4 ?
This question is not specifically related to ASP.NET MVC. The closest you could get is to include an anchor with the mailto: inside the body of the message:
Reply
If the user clicks on this link it will be opened with the default email client that he has associated on his computer.
This being said, doing such things is a bad idea. People normally know how to reply to emails in their favorite email client. Another reason why this is a bad idea is that most email clients will simply block links in email messages especially if they are not from trusted sources. So even if you include such link it will be useless.

Can't click on link inside an outlook email sent by Rails

I have a problem when i send email using Rails email text format, the email contains a link for password reset and all work fine, but when i open email in outlook the link is shown but can't click on. this problem is only when send an email to an hotmail/live/outlook account, is there a solution for that?
Check out this link. It may be a simple matter of changing your Outlook settings.
http://office.microsoft.com/en-us/outlook-help/enable-or-disable-links-and-functionality-in-phishing-e-mail-HA001229962.aspx

Form submission in iOS app?

Im really new to iOS development, but I have some experience in OSX. I am trying to make an app where the users fills out text fields with information and then presses a submit button. The contents of the fields that they filled out are then automatically sent to me via an email.
I built a similar OSX application that could do this, but I cannot figure out how to do it on iOS.
I do not want to use the MessageUI.framework because, as far as I can tell, the user must press the send button after it brings up the email form. I just want it to send in the background.
I have no problem hardcoding in the email address and password, or using the same email for send and receive. ex: to: me#gmail.com from: me#gmail.com
Any pointers would be sweet!
You have two options if you do not want to show the mail composer window to the user
Use an SMTP Client for iOS like this one and send the email from your app with the email id and password hard-coded in the app. But if you want to change the email id or change the password in the future, you'll need to update the app. So this is a less desirable solution
Create a web script on your server which accepts the form fields to be submitted by the user. Then from this web script, send the email to your email id (for instance, if you use a PHP script, use the mail function to send the email). Call this script in the app using NSURLConnection.
You are going to need to make a custom form and then send all of the fields in the form as POST parameters to a custom API that you make on some server. Then you can just redirect that as an email to yourself through something like SMTP

Resources