Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Email Automation via SMTP Server
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00813190
Message ID:
00814692
Views:
35
>1. You are right, my client has already spent over $1,000 for my billable time to write the code. I would rather pay $200 out of my own pocket to purchase a product and be very efficent in utilizing my time, but my client is the State Government. Do you have any idea what kind of cluster f*@k process I have to go through in order to have a PO approved to purchase a thrid party product? It is not fun and I would never put you through that. On the other hand, if it were one of my private clients that I was doing this project for then I would have bought your product the first day I even considered getting into this. I am actually enjoying learning Winsock programming and at my client's expense!
>
>2. I am having a very hard time trying to figure out my Syntax error. I have tried several possible combination, such as:
>
>RCPT TO: "ME" '<'wholden@paulconsulting.com'>'
>RCPT TO: '<'wholden@paulconsutling.com'>'
>RCPT TO: wholden@paulconsulting.com
>RCPT TO: "ME" wholden@paulconsulting.com
>
>The connection to the port is successful, sending the FROM is successful, but I can not get past sending the RCPT (501 Syntax error).
>
>??
>
>PS: singe quotes (') not included in the email addresses above (i.e., '<'...'>'
>
>Wes

Hey, as long as you get paid I would milk it as well. Yes, the government is a pain for product purchase authorization so sometimes it isn't worth it.

Here is the basics. By the way, note again about authentication, message creation and such that you may run into many issues with implementation on different servers. If your application only targets a specific implementation then you may be fine.

S is sender
R is the Host
This SMTP example shows mail sent by Smith at host Alpha.ARPA,
         to Jones, Green, and Brown at host Beta.ARPA.  Here we assume
         that host Alpha contacts host Beta directly.
 
            S: MAIL FROM:<Smith@Alpha.ARPA>
            R: 250 OK
 
            S: RCPT TO:<Jones@Beta.ARPA>
            R: 250 OK
 
            S: RCPT TO:<Green@Beta.ARPA>
            R: 550 No such user here
 
            S: RCPT TO:<Brown@Beta.ARPA>
            R: 250 OK
 
            S: DATA
            R: 354 Start mail input; end with <CRLF>.<CRLF>
            S: Blah blah blah...
            S: ...etc. etc. etc.
            S: <CRLF>.<CRLF>
            R: 250 OK
 
         The mail has now been accepted for Jones and Brown.  Green did
         not have a mailbox at host Beta.
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Previous
Reply
Map
View

Click here to load this message in the networking platform