GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
[WD] Sending bug report to myself and googlemail warnings
[WD] Sending bug report to myself and googlemail warnings
Iniciado por Markus K., jun., 26 2017 9:30 AM - 2 respostas
Conecte-se…
Markus K.
#1
Publicado em junho, 26 2017 - 9:30 AM
Hi,
in my program the user can send me the error/exception description when an error/an exception occurs.
Usually i get the email and a message from google (security warning). Sometimes i only get a message from google which says i should check a blocked login try. (I don't know the correct messages in english, i get german messages). So i am not sure if someone tried to send me an error report but it got blocked by google.
How do you handle this?
I use the following code:
MySession is EmailSMTPSession
MySession..ServerAddress = "smtp.gmail.com"
MySession..Name = "xyz@gmail.com"
MySession..Password = "passwort"
MySession..Port = "587"
MyMessage is Email
MyMessage..Sender = "abc@def.de"
Add(MyMessage..Recipient, "123@456.de")
Add(MyMessage..Recipient, "ghi@gmail.com")
MyMessage..Subject = "Fehlermeldung"
MyMessage..Message = some text
// Send the message
IF EmailSendMessage(MySession, MyMessage) = False THEN
Error(ErrorInfo(errMessage))
ELSE
EmailCloseSession(MySession)
END
Greetings
Markus
Denunciar
0
0
Peter Holemans
#2
Publicado em junho, 26 2017 - 1:28 PM
Hi Markus,
As you are sending via a gmail account your sender email address should according to me match your gmail account email address number (so in the above case xyz@gmail.com).
Ciao,
Peter Holemans
Denunciar
0
0
Fabrice Harari
#3
Publicado em junho, 26 2017 - 1:46 PM
Hi Markus,
on top of the previous answer, you should also check in the google account used to send the email that using "other" email programs is authorized. I'm not sure of the exact wording, but there is an option for that.
Best regards
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto