After i made my site as a secure site with letsencrypt certficate erp.fastgrp.net
the site work well
But
i cant send any email
i follow all the instruction in this post
I think we need a bit more info. Which version of ERPNext are you running?, Is it on your own VPS? How are you connecting to email? I have a https site with an Lets Encrypt cert and my email is fine. The two aren’t really linked.
Open Source Applications for the Web Website: https://frappe.io Source: Frappe · GitHub Installed Apps ERPNext: v7.2.1
ERPNext Shopify: v2.0.3
Frappe Framework: v7.2pt.1
2- its a virtual machine with real public ip
3- email setting : was working fine before converting my site to https
4- i got the certficate week a go via letsencrypt
5 - the only thing may be it made the trouble is
my site name was erpnext.vm
so to make it work with a certficate
i creat a new site its name erp.fastgrp.net
and i restore all the data from erpnext.vm TO erp.fastgrp.net
then i create a certficate using lestencrypt for that domain erp.fastgrp.net
and the site work well with all its old data that i restore from my old
erpnext.vm
Except the Email
even i attempted to remove mail and add a new mail
gmail or hotmail or even my commercial mail info@fastgrp.net
Any of them cant send mails
To troubleshoot http, https, smtp, pop3, imap etc service connectivity, first identify the port that the tcp service runs, then confirm that the port is open. So for example
frappe@erpnext:~/frappe-bench$ nc -vv smtp.gmail.com 587
Connection to smtp.gmail.com 587 port [tcp/submission] succeeded!
220 smtp.gmail.com ESMTP l22sm30607654pfi.2 - gsmtp
frappe@erpnext:~/frappe-bench$ nc -vv imap.gmail.com 993
Connection to imap.gmail.com 993 port [tcp/imaps] succeeded!
As @Sagar_Vora advised, the required port between the vm guest and host may be closed
In a VM environment, my experience is that bridged is easier than NAT to solve for network connectivity.
frappe@erpnext:~$ nc -vv fastgrp.net 25
Connection to fastgrp.net 25 port [tcp/smtp] succeeded!
220 mail.fastgrp.net ESMTP MailEnable Service, Version: 9.16-- ready at 05/09/17 14:17:53
in addidtion the mail is successfully work if i send from vmail.fastgrp.com (http site
)
while
the problem in erp.fastgrp.net site (https) i cant send any mail
its one week now i am trying to figure out the reason that prevent me from sending mail from that https site
while it works well in
**vmail.fastgrp.net (**http site)
with the same mail setting