Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SMTP e-mail sporadically delivered
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00881288
Message ID:
00881290
Views:
19
David,
I'm not real sure on this but I belive that "o.cMailServer" must be the ISP they are connected to. An ISP will not take mail from another ISP. I think if you just leave this blank it will default to whatever they already have set in Outlook.

I ran into this a few months back. We are using the SMTP/POP3 Email Engine from MarshallSoft Computing, Inc. because Outlook just got to misrable to work with. (Works really great by the way) I had to put a setup var in a table with the user's ISP SMTP server name. Otherwise it just bounced back or got lost.

John.


>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..
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform