I don't know!
Whatever you mean with that, the answer is probably no.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
if I can make smtp with community
These are two different things!how to do with livecode server
And the LC server script to send emails also relies on other server specific software like "sendmail"....
The guide explains how to install LiveCode Server on Mac, Windows and Linux servers,
...
Do you have a website and your own domain name? The hardware that runs the website is the server. You need access to that so you can install your own server software. Some hosting companies do not allow you to do that, but if yours does then you can install LC server software there. That is not always easy to do.
Code: Select all
put "Me" into tFromName
put "myaccount@gmail.com" into tFromEmail
put "Another Account" into tToName
put "someone@example.com" into tToEmail
put "gmailUserName" into tUserName
put "gmailPassword" into tPassword
put the internet date into tDateSent
put the tempname into tFile
put "From: " & tFromName & " <" & tFromEmail & ">" & cr &\
"To: " & tToName & " <" & tToEmail & ">" & cr &\
"Subject: Test" & cr &\
"Date: " & tDateSent & cr &\
cr &\
"Testing, testing, 123" into tMessage
put tMessage into URL ("file:" & tFile)
put "curl smtps://smtp.gmail.com " &\
" --silent --show-error" &\
" --mail-from " & tFromEmail &\
" --mail-rcpt " & tToEmail &\
" --user " & tUserName & ":" & tPassword &\
" --upload-file " & tFile \
into tCurlCommand
put shell( tCurlCommand ) into tResponse
if tResponse is empty then
put "Email sent ok" into tResponse
end if
answer tResponse