Custom domain email not working with Heroku - email

I have an app hosted on Heroku free dynos. I purchased a domain name from ewall host and added a CNAME record to point it to Heroku app as Heroku dosen't provide nameservers.
I created an email on my domain email#mydomain.com.
The problem is I can send email via my app but I can't receive email. My domain provider is telling me something about adding a MX record.
I tried setting email to email client but still its not working.
How can I get email working?

Related

Gmail SMTP Authentication Error when using App password with workspace domain alias

I want to be able to use my Google Workspace email alias when automating email sending using yagmail and gmail's SMTP server.
I have set the default "Send Email As" address from the main email (#gmail.com) to the alias email (#domain.com), which is fine when sending manually. I currently have 2SV enabled with my main email & app password sending emails properly through yagmail, but it still shows the sending address as the main email. I tried authenticating with the email alias and a new app password, but I am receiving the following error:
smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted).
I tried a few solutions found online, such as this one (https://support.google.com/mail/thread/127655543/gmail-alias-not-working-it-says-the-password-i-am-entering-for-the-alias-is-wrong-but-it-s-correct?hl=en), to no avail.
Why is using App password fine for my main email but not my domain alias? How can I automate sending emails using domain alias? Any help on this would be greatly appreciated!

Emails not received in Opencart-3 from the same adress (from admin to admin email)

Please Help ...
I debug it and everything looks fine, I configured the SMTP in admin successfully and emails working fine but in case, If we add the same Hosting Domain name, while sending email then It's not working ???
Example: Forgot password not working because URL there but In admin "Marketing => Mail" working, If I do not add domain name. (NOTE: Other domain name working, If I add only opencart3 hosted domain name not working in email)
It looks like not an OpenCart issue, but a hosting configuration. As you said, when you are using same domain name in email, as a site domain - sometimes it's a routing incorrect.
Check an email configuration on your server. When you trying to sent an email to same-domain address - it could be routed as an inner massage. For example, in cPanel hosting settings you should inspect "Mail forwarding" and can check the status of messages in "Track delivery".
If you are using cPanel - go to Mail forwarding, find you domain, and change settins:
Automatically Detect Configuration. - will be set by default.
Local Mail Exchanger. - try this.
Backup Mail Exchanger.
Remote Mail Exchanger. - or this.
Or you can ask you hosting support. Your question will be "I'm trying to use an email address mayaddress#mydomain.com via SMTP on my mydomain.com, but when i try to sent an email to the same address - the message is missing. Can you check email routing settings?"

Create custom email accounts with Heroku

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.

Sending email CPanel

the problem is this:
I need to send an email to a Google Apps account with the same domain that I have delegated to our server from CPanel.
The problem is that when I send an email from no-reply#mydomain.ie (email server) to support#mydomain.ie (gapps email) [same domain, different servers] not from the server, but it tries to find "support" on the local server and can not find (No Such User Here).
Is there any way from CPanel, so that if the user does not find email (support), send it the same? Considering that to send email no-reply#mydomain.ie have the account and use local data.
Thanks!
Alejandro.
I believe you are using Google Apps for email service. It seems that your mail exchanger is set to local in your cPanel.
Go to WHM -> Edit MX and edit this domain. Here you will get an option to set remote mail exchanger for your domain.

How to transfer old email message from PLESK to cPanel

I have redirected a domain from PLESK to another server (cPanel) and also I have transferred the code from PLESK TO cPanel. Now my website is running well. I have created my email on cPanel and i am using webmail to access my email account.
But want to transfer old email messages from PLESK to cPanel. I have searched and found that email messages are stored on PLESK on this location:
# /var/qmail/
Is there any way to transfer email email messages from PLESK to cPanel?
Thanks in advance for any replies.
You can fetch mail from your PLESK server and have it imported into cPanel.
Simply login to your cPanel
Access your webmail and access Horde
Once logged in, on the left hand side, click OPTIONS then Mail
On the center of the screen under “Message Options” click “Fetch Mail”
Create a new account, enter your details from your email account located on your PLESK server (for the incoming/outgoing servers, use your PLESK server hostname)
Email will then begin to be downloaded into your cPanel inbox.
That should do the trick :)
Horde doesn't have the Fetch Mail option anymore.
So, the easiest solution is manual transfer using Outlook or Thunderbird.
How to move email from any server into cPanel use an IMAP client like Microsoft Outlook or Thunderbird?
First, configure each new email account on cPanel (including any sub-folders). Next, configure your IMAP client (Outlook or Thunderbird) with each email account on each server.
One account for the old account (if it is not already there) and one account for the new account created with cPanel.
You may find it easier to use the actual IP addresses of each respective server to avoid name resolution issues.
Replace example.com with IP address (use ping example.com on your CMD console to find out the IP of the old server)
After that, you just need to drag-and-drop the old messages from the old account into the new account on Outlook or Thunderbird and delete the old account.
When finishing with all accounts, change your domain DNS to the new cPanel hosting server and you're done.
It will be downtime?
Depends on the number of email boxes you have to transfer and on other websites or applications you have to move from the old domain name. Normally it should work fast enough to not have any problems but I suggest doing this after working hours.