If I run IBM BPM within my own enterprise, I can configure BPM to use my own SMTP server within my enterprise to send emails. However, when I run IBM BPM on Cloud I seem to have a puzzle/problem. To what SMTP server should I direct my requests to transmit emails?
I can't target my internal SMTP server because it is internal and there is no network path from BPM on Cloud to my internal corporate SMTP server. Unfortunately, even if there was a path, the IBM supplied SMTP email service within IBM BPM doesn't support SMTP credentials and I obviously can't expose an un-authenticated SMTP relay to the Internet from within my company.
Has anyone successfully achieved sending emails from a BPM process hosted by IBM BPM on Cloud and, if so, what recipe was used to transmit the emails?
IBM BPM doesn't support SMTP credentials. I made a work around solution that I made a Java code module for sending email and I attached to my BPM.
I made a lot of searches before for this problem but I didn't find any other solution for this problem.
Related
In development, I am using java mail sender to send mail notification.
But one issue till I found is, google algorithms use suspicious algorithm to check.
And in java mail sender I saw it some time. Till that time, you can't send email. Until you go to that machine from where you are calling and in-browser login with that credential and review activity in any system.
Is there any free version?
Best paid version I can think of Amazon AWS own SMTP server.
We recently migrated our company e-mails to Microsoft Exchange-Server, and we had many automations that used the old server address and ports, plus not using SSL/TLS.
So when we migrated, the server configurations were no longer valid for the e-mails, and we didn't have any source material on how to properly connect to Exchange-Server to automate mails.
I found this documentation on the web, of a similar stack-trace to mine, that had the SMTP Server and ports for configuration.
Using these configurations i was able to succesfully send automated mails through PDI normally like before.
This was done using PDI 7.0.0.0-25
I am using " Mailkit " to send emails from a dot net core console application (using smtp). It works when i run the application in my local machine and I receive emails.
However, when i deployed as an azure webjob, It does not send emails. I could see the job completes successfully and no errors logged. BUT i do not receive emails
I am just wondering how it works in local machine and it does not while run in azure.
Update:
Based on comments below, trying to be specific. can someone confirm if you were able to use Mailkit and an organizational smtp server(no public domains) & email account to send emails from an azure webjob ? or else please suggest what should be a working setup. thanks!
can someone confirm if you were able to use Mailkit and an organizational smtp server(no public domains) & email account to send emails from an azure webjob ? or else please suggest what should be a working setup. thanks!
No public domain means that we can't access the smtp server through the internet. As a workaround, you could save the mail information to a Azure Queue Storage from the WebJob and writing a new application and publish it to your internal network. In your new application, you could get the information from Azure queue storage and send the mail from your internal network.
While migrating from AWS EC2 instances to Google Compute Engine instances we got problems with sending emails via SMTP (Sendgrid).
I read a lot about it and read that the ports (587, 462, 25) of SMTP are blocked... And to read this article.
https://cloud.google.com/compute/docs/tutorials/sending-mail/#sending_mail_through_corporate_mail_servers
Questions:
For my understanding we should open a Cloud Launcher of SendGrid?
If (1) = yes, then I see it (the cloud launcher) does not support C# and our code today of sending emails is based on C#. So that we will have to change the code to one of those: Node.js, Python, Ruby, Go & PHP?
Is there any way to unblock this outbound connections on port 587 (or 462, 25)? Without Cloud Launcher.
Thanks in advance
1) Yes, if you want to use it through google. If not I recommend directly going to one of the smtp providers such as sendgrid, spakpost, mandrill... to get and account and use their smtp service to send mail.
2) You can use C# by simply not using the Cloud Launcher and purchasing an account directly from the vendor and usning their SMTP service.
3) No, port 2525 is free to send outbound emails to smtp providers through GCP so I highly recommend using that since it can be used for sendgrid as well.
I have deployed an application on IBM BlueMix. The application needs to use a smtp server for sending emails. The smtp server will only allow requests from a static ip. As the application is on the cloud, it may not always have a static ip.
In IBM Bluemix there is a service called as Statica, however that is as per the example only for http and https requests. How can we get a static ip for the application to connect to a smtp server?
Your best best for something like this would probably be to use an SMTP server that accepts some kind of login credentials - having the source IP be static is probably not going to be a tenable solution if you're running an app in the CloudFoundry apps on BlueMix.
If you need a static IP, I'd consider running your apps in the container service, or on a virtual.