Find Jobs
Hire Freelancers

Check POP3, running as service on W2K

$30-100 USD

Concluído
Publicado há mais de 21 anos

$30-100 USD

Pago na entrega
The program will run as a service in W2k with the following functionality: Read a configuration file, configuration files enclosed with this project. You can change it or extend it, as you feel fit. Check a Pop3 for emails, every x minute's base on the configuration file Run a store procedure (CheckUploadEmail), which pass as a parameter the subject of the email. The store procedure will return two integers and a path. Base on the return of cmd parameter the following things happen: 1 if SP return 0 save the attached file log the activity with InsertEmailDownload and exit 2 If sp return 1 save the attached file send a confirmation email (see below) log the activity and exit 3 If sp return 2 disregard the attached file and send an email (see below) 4 If sp return 3 forward the email to a new address which is stored in configuration file Note the saving of the attachment is going to be over the network (from the W2K machine to a different machine which can run Linux), I do not thing this is a problem, but just in case. When the program has to send an email, the message for the email is coming from a second store procedure (GetMsg) that has as parameter the second integer from the first store procedure. Please note you need library for the POP3, to decode the attached files and to send an email via SMTP (the value of SMTP is stored in config file). All libraries shall be in public domain. I'm not interested to write all this components, use the public domain code and provide this functionality. The store procedure will be runs again SQL Server, so you have to be familiar with ADO too. Here is the definition of the store procedure to run. First store procedure will check the email parameter is the subject of the POP3 email: CheckUploadEmail email, cmd, MsgID, LngID, Path Where Email (varchar(60) is the subject line of the original email Cmd (tinyint OUTPUT) are the 4 option explained above MsgID (int OUTPUT) message ID, parameter for the second sp LngID (char(3) OUTPUT) parameter for second sp Path (varchar(1024) OUTPUT) is the path where the file have been saved Second store procedure (to receive the message) GetMsg MsgId, LngID, Message Where MsgID (int OUTPUT) message ID, parameter for the second sp LngID (char(3) OUTPUT) parameter for second sp Message (nvarchar(4000)) the message for the email. Note that is returning Unicode message (nvarchar) ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. ## Platform VC++, SQL Server
ID do Projeto: 2866866

Sobre o projeto

3 propostas
Projeto remoto
Ativo há 22 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
See private message.
$51 USD em 14 dias
5,0 (23 avaliações)
5,6
5,6
3 freelancers estão ofertando em média $159 USD for esse trabalho
Avatar do Usuário
See private message.
$340 USD em 14 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
See private message.
$85 USD em 14 dias
0,0 (1 avaliação)
1,9
1,9

Sobre o cliente

Bandeira do(a) ROMANIA
Preajba, Romania
4,9
79
Método de pagamento verificado
Membro desde mai. 27, 2002

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.