Is there any way I can control the contact image when sending an email via PHP even if i'm not on the recipients contacts?
Profile pictures is a functionality proposed by emails client. In you case, Gmail, the user #Sports might have created a Google account with his own email address and then set up a profile picture.
More about creating an account without gmail
Related
I am trying to find a way to forward new gmail mails from user's inbox to other email address. this email address also belongs to user but with different domain. its like getting a copy of new mail from gmail account.
so basically i got the oAuth2 working. i looked around the new gmail api for code that will edit user gmail account to forward to another email address and no luck here. it seems that gmail api (PHP) is in beta stage and email forwarding not supported yet.
any lead would be appreciated.
I'm building a service for a company. The users of the service will send survey links to a list of email addresses. I'm going to use Mandrill as an email engine for this. The service is built using Laravel.
The users will feed a list of email addresses to the service that will generate emails (unique for every email address) and send them through the Mandrill API.
BUT, of course there will be errors made by the users. They will feed some bad email addresses in and emails will bounce. I need to find of way of notifying the users of the service that some emails have bounced.
Is there a way to get Mandrill to send a list of bounced emails to the sender or reply address?
Me as a developer has the Mandrill account of course, but I'm not interested in the bounce information - that has to go to the users of the system. So they can take action and correct the errors.
Thank you.
I see from Mandrill API that it is possible to get the status of sent e-mails with call /exports/activity.json as described in https://mandrillapp.com/api/docs/exports.JSON.html#method-activity
If you get any bounced e-mails from there then you can manually send the corresponding messages to the users who you want to.
When I send an email to somebody, there is this avatar of me (in this case from my Google+ account)
How can I extend my PHP mail() function to add an avatar in the emails?
These avatars are a feature provided by the used mail client, e.g.:
GMail will show the user's Google+ profile avatar if available
Apple Mail will show the user's avatar shown in your address book
etc.
So the avatar is not part of the mail itself.
Two workaround suggestions:
Use a GMail sender address assigned to your Google+ profile.
Add a VCard as attachement, see Formatting VCard in PHP and http://www.xmpp.org/extensions/xep-0153.html#publish - so the recipient gets a VCard to import into his address book.
Actually, I want to add the email address automatically join on my google groups by emailing on mygroupname+subscribe#googlegroups.com. But the issue is, when i email from php code to my group email for add. The google first send the reconfirm email to the user email and if direct email from hotmail,yahoo or gmail then google directly add the person as a member.
My Question is: Is this any php email code which works like the second scenerio i.e. add the person directly on group. I used PHP Mailer gmail smtp also but on that case, it adds the smtp user email not the email address which i set on From ? Please help me out.
Thanks in advance!
No, this is on Google's side, not php's Google must confirm the user wants to be added, and confirm the email address is valid.
I'm using AuthSMTP which is a paid SMTP Relay service. They only support a finite amount of "from" email addresses, which must be proper accounts.
This is my first site build and I'm trying to get my head around how to implement email.
When a user registers with the site or forgets their password, I have an 'info' email account which these messages come from. This works.
However, how do I go about the contact form? I want the email to come from the user who filled in the contact box TO the info inbox. I need to be able to reply directly to them.
How can I do this is my server won't allow the email to come "from" the user? if I use the "reply-to" in the headers, what do I put for the "from" field?
put the email address you are logging in with