send emails

send emails

Postby Otto » Mon Apr 24, 2023 6:42 am

Hello friends,
What do you use to send emails when selfhosting from mod harbour?
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6334
Joined: Fri Oct 07, 2005 7:07 pm

Re: send emails

Postby Otto » Mon Apr 24, 2023 12:43 pm

Hello,
Sometimes you can't see the forest for the trees. I can use the localhostsrv. which monitors a directory and executes the bat files that are placed in that directory.

I then send the emails with a Fivewin programme:
Best regards,
Otto

Code: Select all  Expand view  RUN

oOutlook = CREATEOBJECT( "Outlook.Application" )
oNameSpace := oOutlook:GetNameSpace( "MAPI" )

 oMail = oOutlook:CreateItem( olMailItem )

  oMail:Subject := cSubject+" - "+time()
   //oMail:Body := cText
   oMail:BodyFormat = olFormatHTML
   oMail:HTMLBody = memoread( cSaveAsFile )  
//oMail:Attachments:Add( AllTrim(cZip1) )
   oMail:To := cMailTo
   oMail:Display = .F.
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6334
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 114 guests