How can I configure a "send email" workflow at Umbraco? - workflow

I am using Umbraco Forms v.10 and I'm trying to set up a workflow of sending email (without template) when the form is submitted.
The form works, I can see the entries at Umbraco's backoffice but I did not get any email.
At Logs I get the following error at Logs:
"There was a problem sending an email to {Email} from Workflow for Form {FormName} with id {FormId} for Record with unique id {RecordId}","#l":"Error","#x":"MailKit.Net.Smtp.SmtpProtocolException: The SMTP server has unexpectedly disconnected."
The SMTP is the following:
SMPT
Did I miss something?
I cannot actually find any documentation about that at Umbraco.

Your SMTP settings are most likely incorrect. If you're running your site on your local computer, it's very unlikely you have an SMTP server on "localhost". If your Umbraco site is on a shared host, it's also unlikely the SMTP server is "localhost". So I think your SMTP settings are incorrect and that's why Umbraco is unable to send the email for you.
Find out your webhosts SMTP details, if your webhost was Simply.com, the credentials would be something along the lines of:
Host: smtp.simply.com
Port: 25

Related

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?"

#61042 - An error occurred while processing the outgoing email message with subject "RE: test "

I have installed email router server on production server where Dynamics crm has been installed but when try to reply any mail, the result shows pending send and an error shows in event viewer. I am trying to send mail using a SMTP Relay server. Although, the same application with in same domain and same settings on testing server is working fine.
The event viewer error log is as given below.
Description:
61042 - An error occurred while processing the outgoing email message with subject "RE: test " for SMTP: http://172.26.4.123/TESTCRM for
delivery through 172.26.4.124.
System.Security.Authentication.AuthenticationException: The remote
certificate is invalid according to the validation procedure.
Please suggest some solutions.
Welcome to StackOverFlow.
Hope you are doing well. Let try some steps to troubleshooting the issue:
Set the E-mail Router Outgoing profile to Anonymous.
a. Launch the Microsoft Dynamics CRM 2011 E-mail Router.
b. Open the Outgoing SMTP profile.
c. In the Authentication Type drop down, choose Anonymous.
d. Click Publish.
Updated the settings for the outgoing profile of the email router to use SSL and matched the name of the SMTP server with the name of the certificate. In this case, the proper name was the FQDN of the Exchange server.
** SSL for SMTP is not supported in Ex2010, so if this is your escenario then: unchecked “SSL” for SMTP, saved CRM router settings.
Please find below articles regarding your issue.
https://support.microsoft.com/en-us/help/954584/error-message-when-you-try-to-test-access-from-the-microsoft-dynamics
https://community.dynamics.com/crm/f/117/t/99471
https://community.dynamics.com/crm/f/117/t/231301
Dynamics CRM Email Router Troubleshooting 101 – Outgoing Emails

cPanel 'No such user here'. Local account issue?

I have a website hosted outside the organization. The mail server to recieve the message is inside the organization. The website submits a simple form to email using PHP mail function. Works on every domain tested for the recipient except for ones internal to the domain.
So website is www.domain.com. Mail server is mail.domain.com. Hosted at separate sites. When www.domain.com wants to send a message to user#domain.com it should lookup the mx record and notice that mail.domain.com is at another location and forward the message.
If I configure it to send to user#otherdomain.com, the message is successfully sent and received. But sending to the same domain responds with 550 error 'No such user here'. So I'm wondering if the webserver thinks it is supposed to be the recipient of the mail, and thus responds with 'No user here' because, frankly there is no user configured there.
So does anyone know what cpanel/whm settings need to be added/adjusted to allow this server to know that it is not responsible for mail exchanging for this domain. I do have the mx record setup properly, but don't know if it also requires an A record for the address. Any help much appreciated.
I did notice others having the same issues, but no solutions were actually proposed, so I figured I would make my own question, and see if it get's a good answer for others too that may experience the same issue.
It looks like your routing settings are incorrect. Navigate to cPanel >> MX Entry and verify that the routing setting is Remote Mail Exchanger
As the mails are to be delivered externally, setting this as Local Mail Exchanger will make cPanel think the mails are setup locally and cPanel will try to deliver mails locally. As there are no local mail accounts configured with that name, it bounces with the mentioned error.
I would suggest avoiding sending directly to the MX. Submit your message to a local mail server and let it relay to the MX for you. If you send using PHPMailer with SMTP you will get much better feedback on deliveries. As for what cPanel is doing, check the local mail server log, usually in /var/log/mail.log.
You have to change the setting from local to "Remote Mail Exchanger" in dns zone file. and also create mail account at remote location site.

Sharepoint 2010 workflow email error "Make sure the outgoing e-mail settings for the server are configured correctly"

I have configured my sharepoint server for outgoing email. I used this tutorial
https://manojviduranga.wordpress.com/tag/configure-sharepoint-outgoing-email-step-by-step/
also tried this one:
https://technet.microsoft.com/en-us/library/cc288949(v=office.14).aspx#section5
to test if it's working, I created a simple list workflow to send email everytime a new item is created. when I create a new item in the list, the workflow progress is "Complete" but the email is not sent and there's a workflow error "The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly."
I check all possible solutions I could find. checked the anti-virus, tried adding a pause in the workflow, restarted server and iis. I kept getting the same workflow error.
is there any other solution that could fix this problem?
First you need to be certain that Sharepoint can send emails. To do that just go to your list and in the top menu choose List and then "Alert me". Now set to receive new alerts on newly created items.
Now create new item and check if you received email. If not - your sharepoint or SMTP server is misconfigured.
You can diagnose your SMTP server by opening telnet client (start->run->cmd-> type "telnet").
in telnet client write:
open yoursmtpserveraddress:25
helo test
mail from:anyone#yourdomain.com
rcpt to:your_email#yourdomain.com
data
.
If this will succeed without errors, then your SMTP server is working. Then you should check Sharepoint configuration. Otherwise reconfigure your smtp server and/or firewall.

Mail server redirect to another server

I have a site, which has a server with "Parallels Plesk Panel" installed. I want to send an email from that site a "Contact Us" message to info#domain.com email.
The problem is that this email was already created by one of the programmers using the google mail system (apparently you can create accounts there with a domain name different from gmail.com).
So now, the server rejects my message, telling me that it can't find an email with this name. It works fine when I send to any other domain, but when sending to the same one, it fails. I've created another email info2#domain.com and sent emails there and it works.
My question now is, how do I send emails to the existent info#domain.com which is already created in gmail without making the server block me. One of the options I saw at this panel is to redirect the request for that email to another mailing system (and to specify its IP). Maybe that would help if I would to put there gmails IP?
Thanks.
EDIT:
Using my contact us form I am sending an email to info#domain.com. I get an SMTP error 550, can't find the mail box. When sending to anything but #domain.com it works. When adding that email to my server, it is also fine.
Now, the previous programmer already created info#domain.com, but not with our plesk panel, but using gmail server. Apparently, using gmail you can create an email of the type info#domain.com and not just info#gmail.com. The obvious problem is then that I try to send to this email. It sees that the server is domain.com and tries to find it there (same domain as the site from which I send the message). It fails and gives me the 550 error.
I want the server to send the email with that message to info#domain.com which is actually on gmail.
if I understand correctly, your problem is that two servers think they host the maildomain: your plesk server and gmail.
solution: disable local mail delivery for that domain on the plesk server and make sure plesk can correctly resolve the mx records of that domain , runing dig mx +short domain.com on the plesk server should return a google owned hostname, not the local hostname.
I don't own a plesk server, so I can't tell how how exactly to disable the mail domain, but a quick google search returns: http://www.serveridol.com/2011/03/16/disabling-email-service-for-a-domain-in-plesk/
http://search.yahoo.com/search?p=email+form+service&ei=UTF-8&fr=chr-greentree_ff&type=827316
try a remote email form service. most hosting companies' mail servers are local. to do this, you would have to make your own .htaccess file which contains php.ini mail server settings. i THINK this is correct. you can install php yourself to see what those settings are.
this is something you will probably have to do through the web hosting control panel.
and by the way, XHTML is served up as HTML unless you configure the server to serve XHTML up as XHTML. so use HTML when possible unless you know how to do that. here's how.
http://jesusnjim.com/web-design/setup-test-server.html