FBToolbox DLL :)

Blitz3D Forums/Blitz3D Programming/FBToolbox DLL :)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi :) You can send email without password :) the password is required only for read email.

You have example .bb code for use this function.


; FBT_SendMail%(mailserver$,mailto$,mailfrom$,subject$,msgbody$)
; -----------------------------------------------------------------------------------------------
; With this function you can easily send an email :)
; mailserver$ = The mail server like 'smpt.wanadoo.fr'
; mailto$ = Destination adress
; mailfrom$ = Your email
; subject$ = Subject of the message
; msgbody$ = The message
; Return 1 if the mail has been send ! 0 if failed
Alert=FBT_MessageAlert("Alert","Do you want to send me an email ?",2)

If Alert=6 Then
Mail=FBT_SendMail%("smtp.wanadoo.fr","peter.pan@wanadoo.fr","bob@... !","I love your lib !")


If Mail=1 Then
Alert=FBT_MessageAlert("Alert","The mail is ok !",1)
Else
Alert=FBT_MessageAlert("Alert","Can't send email !",1)
EndIf
EndIf