Click here to Skip to main content
15,884,820 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
When running the Ring Example 19.13 SendEmail() Function from The Ring Programming Language - The Complete Reference Release 1.0, on page 98, raises the error message: Line 3 Error (R3) : Calling Function without definition !: sendemail
in file C:/ring/applications/Ring_Projects/sendmail.ring. The test was a copy/paste from the book...

What I have tried:

see "Send email...." + nl

SendEmail("smtp://smtp.gmail.com:587",
"jblackfield1@gmail.com",
"5552255",
"Sending email from Ring",
"Hello,
How Are you?
Are you fine?
Thank you!
Greetings,
JBlackfield")

see "Done...." + nl
Posted
Comments
Richard MacCutchan 3-Aug-21 12:33pm    
You need to define the SendEmail function, or include the file that contains its definition. Check the book again.
john blackfield 3-Aug-21 22:31pm    
Thanks Richard. I really appreciate your answer. Thanks a lot. I'll check again. (to be honest, I try to include the definition in the beginning of the example, before See "Send email.....", but do not work. I need to read the book again.) Anyway, thank you very much.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900