Create custom email accounts with Heroku - email

I have a client hosted with Godaddy and I am willing to change to Heroku.
I have tried installing Heroku Add-ons but that is not what I am looking for.
How can I create custom accounts for sending and receiving emails with a custom account (client#site.com)
I don't want to send mails via node.js nor PHP.
Thank you!

Heroku will only host your HTTP website. You need another provider for emails.
GSuite will give this to you for example.
By setting up your DNS records properly, you will then be able to tell your domain name to point to Heroku for HTTP requests, and to your emails provider for receiving those messages.

Related

Form Submission with email to get routed via Netlify

I have a new site created and planning to host it on Netlify, I am thinking of creating a form to collect customer Testimonials from the site and email me on my company email address I have read that Netlify does not provide email service. Got inputs like using Zapier integration or free mail service like Zoho.
What other options do I have to make this work? Anyone using Netlify and got email forwarding activated?
You can consider using any SMTP email service and just send the email using PHP or any other code way.
For example here is how to send emails with PHP using Gmail SMTP.
https://pepipost.com/tutorials/send-an-email-via-gmail-smtp-server-using-php/
Or how to use the AWS SMTP and PHP.
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-using-smtp-php.html

using `Gmail SMTP` to send `mail` from my web application. But getting Authentication error

using Gmail SMTP to send mail from my web-application which is Deployed in heroku But getting Authentication error.
I'm receiving a mail from Google saying that:
Someone just used your password to try to sign in to your Google
Account **********#gmail.com, using an application such as an email
client or mobile device.
Details:
Thursday, April 20, 2017 5:35 AM (ET)
Ashburn, VA, USA*
Google stopped this sign-in attempt, but you should review your recently used devices:
I tried all these below:
1)I have reviewed the recent login and said that was me but still google is not allowing me to login.
2)Turning ON access for less secure apps.
Sending mail Code is working fine in my local system, But After deploy it is not working.
can anyone tell me that how I can make my web-application which is deployed in Heroku server which is running from location -Ashburn,VA, USA* to be approved to get login into my gmail.
Thank you in advance :-)
I had the same problem as you - I am also using a gmail account to send SMTP mail via a heroku account. Try logging in to your gmail account and then logging out, and then back in. You can also try this further authentication mechanism at : https://accounts.google.com/displayunlockcaptcha.
In my case, it took a little while (some anxious wait time?) after doing this before I was able to send SMTP mail.
You might also want to consider if you haven't already using one dedicated gmail account for SMTP mail.

How to set up email on Amazon EC2

I have domain. I have my website on an Amazon EC2 instance. I have pointed the domain there, so website is accessible with the domain now. all is working fine but I want to set up the email now, I should be able to create email id and manage emails.
Someone suggested Amazon SES to be set up, I did that but then what to do?
Any ideas greatly appreciated.
You don't want to run your email on EC2.
Amazon SES is for outgoing email only, i.e. it can replace your SMTP server, so for example if your website generates emails, you could use SES to send them out, but its not a full 'email' service in the traditional sense.
For normal email operations, you need to use an email provider such as gmail, outlook, rackspace email etc.
AWS also offers AWS Workmail as an option. I use both Rackspace email and outlook email for various domains that I have hosted on EC2 instances.
If you are accustomed to using a shared hosting service, i.e. discountasp.net where the web hosting and email is all bundled together as a single packaged service for you, you need to think of things differently when you start running and managing your own ec2 server instances. Its upto you to string the parts together.
Since you have hosted website on AWS EC2 and Domain name pointed to Instance. I would suggest that you use AWS WorkMail to send Email. This is new service which has been introduced. AWS WorkMail is available on US East (N. Virginia) and EU (Ireland) region. It is easy to configure and you can use your domain name to create email Ids, say info#domainname.com.
After configuration you will have your own console for where you can manage and access all your emails. To access emails AWS have own console similar to webmail.

How to do Email Hosting with Cloud apps (heroku)?

I run several websites on rackspace and have been slowly converting the sites to web apps on heroku, however my clients still need email#theirdomain.com.
Most of the solutions I see on heroku are for sending notifications and not hosting email services.
Most of the email only services seem to be about email marketing not hosting. Is there a way for me to drop the rackspace server and still provide email hosting to my clients?
You can try free hosting for email at http://domains.live.com You need to be able to change your mx server to do that. Its quite simple. The interface is great and comes with smtp

AWS SES - Sending Emails

I have created an SES Account and I have verifed my domain - easy as the A record is already with AWS route53. I now need to send emails. Note: I have also created an smtp user account and have the keys.
Question - can I use any (lets say PHP as I like PHP) php script to send emails via SES?
I have found a couple of sites that appear to have scripts for SES like http://www.orderingdisorder.com/aws/ses/ but wanted to ask if now my domain is verified and I have user/keys etc is SES really just an SMTP gateway and I can use any (working) script to send emails via this interface?
thx
You can use their SMTP gateway or send emails via the AWS SDK for PHP programmatically. Just download the SDK, include it in your PHP file and you're good to go.
http://aws.amazon.com/about-aws/whats-new/2011/12/13/amazon-simple-email-service-gets-simpler-with-smtp/
http://docs.aws.amazon.com/AWSSDKforPHP/latest/#i=AmazonSES
http://aws.amazon.com/sdkforphp/