Hi
In my company we use this emails jhualpa@greengroup.com.pe because the company is green group.
and in the setup of "Mail Client Manual Settings" we have:
Servidor entrante: mail.greengroup.com.pe
Servidor de correo: mail.greengroup.com.pe
but when I use this program the result says "220 and/or bulk email"
SequentialMode
'Main Program
BeginProg
SlowSequence
Scan (1,Min,0,0)
emailsuccess1=EmailSend("mail.greengroup.com.pe:25","jhualpa@greengroup.com.pe","jhualpa@greengroup.com.pe","prueba JH","Hola","","jhualpa@greengroup.com.pe","pass",result)
NextScan
EndProg
what is what i am doing wrong? please
This is almost certainly because your email server is running some form of filters to try to block bulk emails senders. That filter is objecting to the form, name or IP address that the datalogger is using to try to send the email.
Rather than trying to get those filters changed please consider using the new emailrelay function in the latest operating systems of the datalogger. This essentially sends your email via an email server "in the cloud". That server will be more widely accepted as a source of email than the logger itself.
There is a blog on the new mechanism here:
https://www.campbellsci.com/blog/sending-email-from-datalogger
thank you
but I have a new CR6 OS: CR6.Std.06.01 and the loggernet 4.4.2 and I cant find EmailRelay().
The documentation for the instruction was only added to the CRBasic help system relatively recently.
Can I suggest you download the very latest OS from here:
https://www.campbellsci.com/downloads?c=9999&d=324
Run the executable that you download and it will put the new OS on your hard drive so you can upgrade your logger with it and it will also update the CRBasic help files to show EmailRelay.
thank you
I correct my program
SequentialMode
'Main Program
BeginProg
socket=TCPOpen("www.google.com.pe",80,50)
SlowSequence
Scan (1,Min,0,0)
emailsuccess1=EmailRelay ("jhualpa@greengroup.com.pe","test JH","Hola",result)
NextScan
EndProg
i put socket for check it out my connection to internet. and socket is >100, i mean my connection to internet is ok.
but in result i see message: cant connect to konnect
i doesnt send email.
thank you
I could connected but
Can I change the names by defult and sign in the email?
appears always
sender: emailrelay@konectgds.com
sign: Provided as a free service by Campbell Scientific=
can i change that?
the last version of OS that has emailrelay():
CR1000 OS 31.03 (in cr1000)
and CR3000 OS 31.03 for cr3000 right?
with that version can i update that dataloggers and use emailrelay() right?.
EmailRelay() in included in OS 31.00 and newer operating systems.
No. You can not change the from address or the signature of the mail used by EmailRelay().
Follow up question: Which ports need to be open for EmailRelay?