Hello
How do I send an email without any third party and no outlook installed on the machine just using
pb functions for define email address to , send from, file attach and so on ?
thanks
Hello
How do I send an email without any third party and no outlook installed on the machine just using
pb functions for define email address to , send from, file attach and so on ?
thanks
n_smtp64 gn_smtp
I personally don't add non visuals like you did. Instead add it as an instance variable in the window:
n_smtp64 in_smtp
And then in your code refer to it like this:
in_smtp.of_SetSubject("The subject of the email")
Some people like to name non-visual variables with nv like this:
n_smtp64 inv_smtp
It is totally up to you, I use both naming styles.
Local variables which are defined in an event or function should start with an l (small L).
Examples:
Boolean lb_switch
Integer li_index
Long ll_count
String ls_title