-
Hi Barry
The problem NON SSL mailsend() code as follows :
m_open = mailopen(lSMTPServer,lSMTPUser,lSMTPPass,"SMTP")
if not m_open
dialog box mailerror()
return
endif
// send the mail
fromname = "forwarding@xxx.co.uk"
tonames = "sales@xxx.co.uk"
ccnames = ""
subject = "For your information"
msg = "This is a test email"
attachments = ""
m_mailOK = mailsend(fromname, tonames, ccnames, subject, msg, attachments)
wait window 'Mail send status - ' + IIF(m_mailOK = .T., 'Success', 'Failed') timeout 3
if not m_mailOK
messagebox(mailerror())
endif
We cant see any reason why this should not work. Firewalls etc are all open for SMTP send. SMTP is enabled on ISP. Works fine from VFP.
What are we missing? mailopen() returns .T. but mailsend() fails. Will send you the live passwords etc by pm so you can try.
Thanks in advance
SpringBox
Last edited by SpringBox; 2014-03-24 at 15:35.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks