im trying to configurate my STMP in grafana so i can receive alerts from grafana when certain specification are filled, although i gives me an error (displayed in the picture bellow).
Im currently using grafana localhost and i dont know if thats affetc with something, im going to leave the code from "defaults.ini" (STMP part).
I must add that the email in the error is not the same as the email i used in the code..
enabled = true
host = smtp.office365.com:587
user = "Myemail"
password = "Mypass"
skip_verify = true
from_address = "Myemail"
from_name = Grafana
Error from grafana Picture (Click here to see the pic)
Related
Hello i have app written in flutter which uses data from parse server.
According to flutter doc:
/// Reset password
response = await user.requestPasswordReset();
if (response.success) {
user = response.result;
}
I'd like to send e-mail using my parser with change password link.
When i press button with that function assigned - i get information: "E-mail sent"
On flutter side i'm getting that output:
Function: ParseApiRQ.requestPasswordReset
I/flutter (28247): Status Code: 200
I/flutter (28247): Payload: {"className":"_User","email":"testazaz#gmail.com"}
On parser side i have installed something like this:
simple-parse-smtp-adapter Configured as doc says.
I don't getting any Error/Info logs from parser. Can you tell me how to configure it properly? Maybe you know other way - how to connect flutter with parser to send e-mail verification or password change e-mails.
After couple days i finally resolved this problem with help of #DaviMacêdo.
I implemented Sendgrid Adapter.
In your parse node-modules folder install this module using cmd:
npm i parse-server-sendgrid-adapter
Remember to require module at the top of the file:
var SimpleSendGridAdapter = require('parse-server-sendgrid-adapter');
var api = new ParseServer({
...,
emailAdapter: SimpleSendGridAdapter({
apiKey: 'sendgridApiKey',
fromAddress: 'fromEmailAddress',
})
});
You can get api key here
and set up sender e-mail here
I hope it helps saving much time for others facing the same problem!
guys, actually I have a problem in my code and the redirection feature in my router, after I wrote the code which able to find the form and login into the router I faced a problem that after the login using the login.cgi the router redirects the link into something like http://192.168.1.2/index.asp;session_id=2dfa2490ad2e26a3d073edfdae7d0f45
what I could understand that it shows the session id in the link and I need help to make my code understands and gets the link I tried many times using
browser.get_url() but it shows http://192.168.1.2/login.cgi
thank you guys
def wifi_pass_changer():
username = 'admin'
password = 'admin'
url = "http://192.168.1.2/"
browser = mechanicalsoup.StatefulBrowser()
browser.open(url)
browser.select_form('form[action="login.cgi"]')
browser["http_username"] = username
browser["http_passwd"] = password
response = browser.submit_selected()
I want to integrate SendGrid smtp email to send mail from my Classic asp application. I have no idea about how to integrate third party mail server.
I only used gmail server to send mail from application.
If I register on sendgrid with mail id xyz#gmail.com then which credential i need to use for userid and password. Do i need to use sendgrid credential for below example:-
enter image description here
Which credential i need to use in yellow circle.
link for above example Example link
I read docs provided on sendgrid official site, but idea is not cleared how to use it.
Please help on this..
thanks
sagar
If you have an account with SendGrid then presumably you have a username and password to log in to it - you just need to use these as the values in the yellow box.
Their example is actually pretty standard cdo.message code. If you have got it to work with gmail then you should be able to modify your existing gmail code. SendGrid also appears to use port 465 so all you would need to change is the smtp server address and the username and password.
See this page
http://webcheatsheet.com/asp/sending_email_asp.php
Late to the party.. That link is not longer working.
This is the solution on how to send emails with SendGrid in Classic ASP.
Set oMail = Server.CreateObject("CDO.Message")
Set iConf = Server.CreateObject("CDO.Configuration")
Set Flds = iConf.Fields
iConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
iConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.sendgrid.net"
iConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
iConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465
iConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'basic (clear-text) authentication
iConf.Fields.item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = True
iConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = {your API key}
iConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = {your password}
iConf.Fields.Update
Set oMail.Configuration = iConf
oMail.To = {to}
oMail.From = {from}
oMail.Subject = {subject}
oMail.HTMLBody = {htmlmessage}
oMail.TextBody = {textmessage}
oMail.Send
Set iConf = Nothing
Set Flds = Nothing
set omail=nothing
Has anyone got any idea why the mail subscription icon is sometimes there and sometimes not?
If you log into the server and look at the report its always there but on the embedded one its only there if you have logged into the tableau server first.
In addition, has anyone a list of all possible options I can use in the code below?
var placeholderDiv = document.getElementById("tableauViz");
var url = "https://mydomain/trusted/token/t/site/views/view?:embed=yes&:comments=no&:toolbar=yes&:tabs=yes";
var options = {
hideTabs: false,
width: "100%",
height: "1000px"};
You can only subscribe if you exist as a user on Tableau Server because the subscription mail gets sent to the email address you have linked to that account. So, if you are not logged in you will not see the subscription icon.
Also, here is a list of all possible embed parameters: http://onlinehelp.tableau.com/current/server/en-us/help.htm#embed_list.htm
hi i am connecting to facebook using the following code it work fine for my two account one is gmail and another one is yahoo but it is only working on that accounts not log in on the other accounts of the gmail,yahoo,hotmail i check every acccount that i have every time onautherror come why ? what i am doing wrong is my code is wrong can any one tell me plz
Jid jidUser = new Jid(txtBoxUserName.Text);
xmppCon.ConnectServer = jidUser.Server;
xmppCon.Username = jidUser.User;
xmppCon.Server = "chat.facebook.com";
xmppCon.Port = 5222;
xmppCon.Password = txtBoxPassword.Text;
xmppCon.AutoResolveConnectServer = true;
xmppCon.Open();
Facebook doesn't allow the username/password XMPP authentication anymore.
You can only login using the X_FACEBOOK_PLATFORM SASL mechanism.
See:
http://developers.facebook.com/blog/post/2011/09/09/platform-updates--operation-developer-love/
So for Facebook use X_FACEBOOK_PLATFORM SASL auth in agsXMPP and it will work fine.