Hi all,
I have a utility where users can submit registration info via email. The problem is that I usually don't receive the email. I do sometimes though, and always when I test from here.
In order to make it easy for my clients to use, I have prepopulated o.cMailServer (below) with my ISP's mail server name. The user enters their email address (thisform.txtEmail.value). This value is entered correctly.
I have understood that we can enter any mailserver name. Is this correct? If so, does anyone know what I may be doing wrong? TIA - David
The code follows:
o=CREATE("wwIPStuff")
o.cMailServer="any.validserver.com"
o.cSenderEmail=thisform.txtEmail.value
o.cSenderName=thisform.txtRegisteredTo.value
o.cRecipient = "
sales@oastrade.com"
o.cSubject='OAS Freight Registration Request'
o.cMessage=hdrinfo+compinfo+userinfo
llResult = o.SendMail() && Send again - wait for completion
By the way, llresult always returns .T..