Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD22] SMTP Email sessions

$
0
0
Hello All

I have a question regarding the best method of using smtp email sessions.

My application emails pay slips, chqs and remittance advices.
I do this by initializing the email structure, opening an smtp email session, sending the message, closing the session and then repeating with the next item to send.

I think it would be better to open the smtp session at the beginning, then assemble the data and the pdf into the email variable for the first item, send the message and repeat that process until I have emailed all the items and then close the session.


Regards
Al

Viewing all articles
Browse latest Browse all 1914

Trending Articles