Rajat Sharma
Member
Hi All, hope you are doing well !!!
I want to implement mailing in progress by using user interface screen (progress GUI) and with batch process as well. Neither I want to use outlook object nor UNIX utilities (like sendmail for this). I think for achieving this requirement I can use progress sockets (please suggest) with SMTP protocol. I have found and used one of the related knowledge base article “Sample Code to Send Email via Internet SMTP with 4GL Sockets” (Please refer below link regarding the same)but I am unable to send email by using mentioned program.
http://knowledgebase.progress.com/articles/Article/19647
Under this program, I am successfully connected with server as I have updated variable vSmtpServer with valid server name and port number and received “Yes” in vstatus variable(please refer below code for this).
As per my understating, this programs is only for receiving email because various getter methods are available under this program like: GET-BYTES-AVAILABLE.
Please suggest.
Regards,
Rajat.
I want to implement mailing in progress by using user interface screen (progress GUI) and with batch process as well. Neither I want to use outlook object nor UNIX utilities (like sendmail for this). I think for achieving this requirement I can use progress sockets (please suggest) with SMTP protocol. I have found and used one of the related knowledge base article “Sample Code to Send Email via Internet SMTP with 4GL Sockets” (Please refer below link regarding the same)but I am unable to send email by using mentioned program.
http://knowledgebase.progress.com/articles/Article/19647
Under this program, I am successfully connected with server as I have updated variable vSmtpServer with valid server name and port number and received “Yes” in vstatus variable(please refer below code for this).
Code:
[/B][/B]
[B][B]vstatus = hSocket:CONNECT("-S 465 -H " + vSmtpServer) NO-ERROR. [/B][/B]
[B][B]
As per my understating, this programs is only for receiving email because various getter methods are available under this program like: GET-BYTES-AVAILABLE.
Please suggest.
Regards,
Rajat.
Last edited: