secure email with attachment sending...

Moderator: Rathinagiri

User avatar
hmgchang
Posts: 273
Joined: Tue Aug 13, 2013 4:46 am
Location: Indonesia

secure email with attachment sending...

Post by hmgchang »

Happy New Year All ....
- How can we send email with attachment ( report/dbf) from Hmg program ?
- Can we secure the to only specified email address but not others ?
- If only I can hv a sample on the above issues....

Thks n Rgds

Chang
Just Hmg It !
User avatar
mjaviergutierrez
Posts: 146
Joined: Fri Nov 30, 2012 7:51 pm
Location: San Lorenzo, Santa Fe, Argentina

Re: secure email with attachment sending...

Post by mjaviergutierrez »

Hi Chang, I'm just working on it, Here a hb_sendmail () function does not work is presented. I commented to not waste time with that. I have urgency to this issue, and I am working to create a function that really just send an email. As soon as I have news, I'll upload the actual response to the forum. We are working me and my group in that.
...
jayadevu
Posts: 238
Joined: Tue May 19, 2009 7:10 am

Re: secure email with attachment sending...

Post by jayadevu »

Hi,

You can use blat for sending email from HMG. More information here: http://www.blat.net/

We have been using this for many years successfully.

Warm regards,

Jayadev
jayadevu
Posts: 238
Joined: Tue May 19, 2009 7:10 am

Re: secure email with attachment sending...

Post by jayadevu »

Hi,

If it is an alternative, you can use Outlook (from Microsoft) with oOutlook := CreateObject( "Outlook.Application" ) and send mail through outlook.

HTH,

Warm regards,

Jayadev
EduardoLuis
Posts: 682
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: secure email with attachment sending...

Post by EduardoLuis »

Hi Forumers:

Some time ago, MOL published an excelent routine that lets you send email, with attachments.- I'm using it, and works fine.- Have's 2 limits:
1) Only works with POP3, not with GMAIL and not with Yahoo (i've tested).-
2) By an unknowledge reason you can send any attach file except *.PDF.-
As this function (sendmail) is part of a developement i've made, where info only can be seen by another user of the same developement on another location, i encrypt PDF on another file ending .TXT and then i send it.-
I've test attaching different types of files and except *.PDF with all works fine (Doc, Docx, XLS, XLSX, BMP, JPG, EXE, and so on).-
Daniel Maximiliano, is working on a powerfull routine that lets you send and recieve mails with GMAIL and YAHOO.- He has published an excelent work recently on the forum. Check it.-
Also check Mr. Dyamond Rathinagiri posts, who has published another excelent routine to send and recieve mails.-
With regards Eduardo
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: secure email with attachment sending...

Post by mol »

I'm on Vacation now, but I'll test attachments sending. Especially .pdf files. It seems very strange...
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: secure email with attachment sending...

Post by danielmaximiliano »

hmgchang wrote:Happy New Year All ....
- How can we send email with attachment ( report/dbf) from Hmg program ?
- Can we secure the to only specified email address but not others ?
- If only I can hv a sample on the above issues....

Thks n Rgds

Chang
Hi Chang
Try CDOSYS viewtopic.php?p=20107#p20107
Source files download/file.php?id=2044

and Solution " with attachment " for Salamandra friend : http://hmgforum.com/viewtopic.php?p=20435#p20435
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
EduardoLuis
Posts: 682
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: secure email with attachment sending...

Post by EduardoLuis »

Hola Dany:

Estuve probando el Gmail que recomendas, y me da el siguiente error (adjunto jpg).-
Verifiqué el código y las sugerencias de Salamandra y todo esta Ok.-
El test lo hice con 2 servidores Gmail y Yahoo
Si te te ocurre alguna sugerencia. Gracias.-
Un abrazo.-
Eduardo
Attachments
Error_de_Gmail.JPG
Error_de_Gmail.JPG (20.65 KiB) Viewed 5605 times
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: secure email with attachment sending...

Post by danielmaximiliano »

Hola Eduardo y a todos en el Foro.

Sencillamente no funciona correctamente porque las configuraciones cambian el los servidores SMTP

modifique para Yahoo Argentina el servidor y el puerto y funciona correctamente como con Gmail.
para Hotmail cambiaron los servidores de microsost para utilizar Outlook.com pero no encuentro bien la configuracion para el mismo.
como Gmail hay que configurar la cuenta para acceder a POP3 y SMTP desde aplicaciones externas (Outlook, Thunderbird, etc)
tengo hecho las modificaciones en Outlook.com pero sigo sin poder enviar email.
generalmente los puertos SMTP son 25 / 465 / 587 pero no funciona.
se necesitaria saber como funciona la autentificacion de Outlook.com

Translate Google

Hi Eduardo and everyone on the forum.

Simply not working properly because the settings change the SMTP servers

Yahoo Argentina customize the server and port and works properly as Gmail.
changed to Hotmail servers to use microsoft Outlook.com but feel good settings for it.
as you have to configure Gmail account for POP3 and SMTP access from external applications (Outlook, Thunderbird, etc)
I have made ​​modifications Outlook.com but still can not send email.
generally the SMTP port is 25/465/587 does not work.
be needed to know how the authentication of works Outlook.com
yahoo server.jpg
yahoo server.jpg (35.85 KiB) Viewed 5592 times
gmail server.jpg
gmail server.jpg (36 KiB) Viewed 5592 times
CDOsys.rar
(45.61 KiB) Downloaded 331 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
EduardoLuis
Posts: 682
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: secure email with attachment sending...

Post by EduardoLuis »

Hola Dany:

Desde ya infinitamente agradecido por tu colaboración y mas por tus enormes conocimientos.-
En efecto, funciona y correctamente.- He hecho las pruebas tanto con Yahoo como Gmail y en ambos casos la transmisión se hizo sin ningún problema.-
Gracias nuevamente.- Un abrazo. Eduardo.-
Post Reply