Email with Magento 2 and XAMPP with Gmail - email

Hi i have Magento 2 installed on Xampp and when i continue with a purchase i do not get an email. I am using a gmail account. What i have done so far is below.
Updated all email settings in:
Stores - Configuration - Sales - Sales Emails
Stores - general - and all the general contacts
Stores - Advanced - System - host and port fields to smtp.gmail.com and have tried ports 587, 25 and 465
Updated my php.ini file Mail Function
Updated my sendmail.ini file
Im not sure where to go from here. It would help a lot if i can find at least a log somewhere of where my emails are going or why they are failing. I have tried all the different ports and when i do i update it in all the files and the dashboard. Im sorry if i have left anything out in advance. Any help would be greatly appreciated and thanks.

Related

How to set up mail server(postfix or anything else) on ubuntu?

I have installed Ubuntu Bionic on my virtual machine and have an application set up.
Now what I need is to send emails from my own server.
I am trying to set up postfix to do that but nothing works. I have tried many tutorials but still no success....even worse - the more tutorials I try the more confused I get.
So what have I tried?
I used apt install mailutils to install postfix and I chose internet site
When it asked for FQDM I entered mydomain.com .
Here is the first question. Some tutorials say to change it to mailmydomain.com .
So is it supposed to be a subdomain?
Do I need to create an A record to my DNS?
The I try to send an email
email" | mail -s "This is the subject line" somemail#mail.com
But nothing happens...no mail in my mailbox and no mails in posfix queue.
Is there a step by step tutorial for a complete beginner?
Do I need to create a MX record pointing to my server?
Do I need to create a TXT record? I read that that is how other mail servers validate a sender.
If yes, then how to do it?
So what do I have to do to send and email from my own server?
At this point I don`t even need to receive and email - just send it
And I don`t need to use postfix...I can use whatever works.

Configure email server and receive email from internet like gmail/hotmailetc

I want to configure own email server. I have windows server 2008 R2 OS (subscribed from one VPS provider).
My requirement is as below:
1. Create new email addresses as and when required with #mydomain.com
2. Receive emails on these new Email address from outside network sender like Gmail/Hotmail etc
3. Read emails
I have bought one domain with Godaddy. I asked them steps but they confused me with get name from your web hosting where you have OS hosted and get your Name Server name and MX record entry. I couldn't figured out these information.
Can somebody please help me to achieve what I want to do?
Any help is appreciated.
Thanks in advance.
Firstly, you have to configure your domain nameservers.
To do that, you have to Registering and Editing Your Own Nameservers
Then, set them going to GoDaddy's How to set Custom Nameservers
Once you create and set this, you have to wait up to 24 hours .
After your domain is ready to use, you have to install a mail server application on your server.

CentOS Spam Troubleshot

I am having a problem in my server. It's sending a lot of spam emails out. I am using Exim, and i did all the possible Tweaks from WHM to prevent spamming. I already tried to find the source of these email, from what script they are coming from.
I tried with TCPdum and netstat.
The emails are going out from some cPanel user for example user1#servername.sdm.com (the server host name) not from user#samedomain.com.
Any idea or suggestion what can i check?
I already found the problem. I was monitoring with TCP dump the connections in port 25 and grepped the account what was spamming than i found what script was sending the emails by monitoring the Exim logs.

Can not receive emails on Apache James email server

I have installed Apache James email server on a windows machine. I am using Firefox Thunderbird as email client.
I could add a new domain mydomain.com by copying the domainlist.xml in conf folder of James server and making it default domain. Further, i could add users into this domain.
My problem is that i can send emails from tuser1#mydomain.com to admin#localhost BUT i can't receive mails on tuser1#mydomain.com.
i tried to copy the lines below in my host file and restart the server,
127.0.0.1 mydomain.com
mydomain.com IN A 127.0.0.1
mydomain.com IN MX 10 mydomain.com
This is not helping.
Any suggestion on this?
Thanks,
Vijay Bhore
Found a solution to my problem.
Now, I am using hMailServer as my email server.
I added the domain 'mydomain' and few users under it.
Later i referred this link: http://csns.calstatela.edu/wiki/content/cysun/course_materials/hmailserver
I followed steps 4,5 and 6 in hMailServer Administrator.
I could easily add users in Thunderbird client and send/receive emails.
Thanks,
Vijay Bhore

Symfony2 Swift Mailer connection time extremely long - Debug options?

I'm using Symfony 2.1 and SwiftMailer to send out registration e-mails.
The process handling for this takes abouts 20 seconds if there's an email to be send. Meanwhile the website is loading. This might give users the impression that something went wrong.
I'm connecting using SMTP.
I have a similar Symfony2 Installation which connects to the same mail server, also using SMTP and there an email is send immediately.
Is there a way using XDEBUG or something else to see what is causing the delay?
I think this was a slow DNS lookup problem.
In parameters.yml I've changed the SMTP host from the domain name to 127.0.0.1 and it works perfectly now.