Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Just think, with VLSI we can have 100 ENIACS on a chip!" -- Alan Perlis


devel / comp.lang.xharbour / Re: HB_SendMail & HTML format

SubjectAuthor
* HB_SendMail & HTML formatClaudio H
`* Re: HB_SendMail & HTML formatEnrico Maria Giordano
 `* Re: HB_SendMail & HTML formatClaudio H
  `- Re: HB_SendMail & HTML formatEnrico Maria Giordano

1
HB_SendMail & HTML format

<d9bf9e09-10eb-4fb5-88ed-93e425d39fa3n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17712&group=comp.lang.xharbour#17712

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:3b0a:b0:76d:7b5d:d4c9 with SMTP id tl10-20020a05620a3b0a00b0076d7b5dd4c9mr296771qkn.7.1694047763992;
Wed, 06 Sep 2023 17:49:23 -0700 (PDT)
X-Received: by 2002:a63:7e12:0:b0:56a:36ac:3238 with SMTP id
z18-20020a637e12000000b0056a36ac3238mr4038866pgc.5.1694047763524; Wed, 06 Sep
2023 17:49:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Wed, 6 Sep 2023 17:49:23 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=181.47.6.188; posting-account=aFBEXgoAAAB4yn7v61tkTYKSn_hA4pNO
NNTP-Posting-Host: 181.47.6.188
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d9bf9e09-10eb-4fb5-88ed-93e425d39fa3n@googlegroups.com>
Subject: HB_SendMail & HTML format
From: cherszage@gmail.com (Claudio H)
Injection-Date: Thu, 07 Sep 2023 00:49:23 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1238
 by: Claudio H - Thu, 7 Sep 2023 00:49 UTC

Hi
I understand that it is possible to send an HTML email with HB_SendMail(), where cBody must contain the filename of the HTML message to send.
I'll appreciate if someone can attach a simple example including a simple HTML file to evaluate it.
Regards
Claudio H

Re: HB_SendMail & HTML format

<udc3ri$2ua68$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17713&group=comp.lang.xharbour#17713

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: HB_SendMail & HTML format
Date: Thu, 7 Sep 2023 11:06:59 +0200
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <udc3ri$2ua68$1@dont-email.me>
References: <d9bf9e09-10eb-4fb5-88ed-93e425d39fa3n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 7 Sep 2023 09:06:58 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b1bf7855ed6e02a7ae7ae3286e376be2";
logging-data="3090632"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gHXioTHKHBLrPfMgqN5/O"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.0
Cancel-Lock: sha1:VzFzv3+eLdWp5K4zWnkblz5XbZQ=
In-Reply-To: <d9bf9e09-10eb-4fb5-88ed-93e425d39fa3n@googlegroups.com>
 by: Enrico Maria Giordan - Thu, 7 Sep 2023 09:06 UTC

Il 07/09/2023 02:49, Claudio H ha scritto:

> Hi
> I understand that it is possible to send an HTML email with HB_SendMail(), where cBody must contain the filename of the HTML message to send.
> I'll appreciate if someone can attach a simple example including a simple HTML file to evaluate it.

FUNCTION MAIN()

LOCAL cFrom := "e.m.giordano@emagsoftware.it"
LOCAL cServer := "smtps.aruba.it"
LOCAL cTo := "e.m.giordano@emagsoftware.it"
LOCAL cSubject := "Messaggio di prova"
LOCAL cMessage := "Test.htm"
LOCAL aAttach := NIL
LOCAL cSender := NIL
LOCAL cUser := "myuser"
LOCAL cPassword := "mypassword"
LOCAL aCC := NIL
LOCAL lHtml := NIL
LOCAL cPort := "465"
LOCAL lNotification := NIL
LOCAL lSSL := .T.

? HB_SENDMAIL( cServer, VAL( cPort ), cFrom, cTo, aCC, , cMessage,
cSubject, , cUser, cPassword, , , , .T., , , , , lSSL )

INKEY( 0 )

RETURN NIL

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

Re: HB_SendMail & HTML format

<fac636e2-ae06-449a-94f8-44f8d45360a0n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17714&group=comp.lang.xharbour#17714

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:242:b0:76f:c32:705f with SMTP id q2-20020a05620a024200b0076f0c32705fmr67526qkn.2.1694097061707;
Thu, 07 Sep 2023 07:31:01 -0700 (PDT)
X-Received: by 2002:a17:902:f547:b0:1b8:9866:db2a with SMTP id
h7-20020a170902f54700b001b89866db2amr6630031plf.10.1694097061164; Thu, 07 Sep
2023 07:31:01 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 7 Sep 2023 07:31:00 -0700 (PDT)
In-Reply-To: <udc3ri$2ua68$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=181.47.6.188; posting-account=aFBEXgoAAAB4yn7v61tkTYKSn_hA4pNO
NNTP-Posting-Host: 181.47.6.188
References: <d9bf9e09-10eb-4fb5-88ed-93e425d39fa3n@googlegroups.com> <udc3ri$2ua68$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fac636e2-ae06-449a-94f8-44f8d45360a0n@googlegroups.com>
Subject: Re: HB_SendMail & HTML format
From: cherszage@gmail.com (Claudio H)
Injection-Date: Thu, 07 Sep 2023 14:31:01 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1231
 by: Claudio H - Thu, 7 Sep 2023 14:31 UTC

Thanks Enrico.
Can you please post or send to my email a basic htm file to see the content?
Regards
Claudio H

Re: HB_SendMail & HTML format

<udcngm$316el$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17715&group=comp.lang.xharbour#17715

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: HB_SendMail & HTML format
Date: Thu, 7 Sep 2023 16:42:31 +0200
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <udcngm$316el$1@dont-email.me>
References: <d9bf9e09-10eb-4fb5-88ed-93e425d39fa3n@googlegroups.com>
<udc3ri$2ua68$1@dont-email.me>
<fac636e2-ae06-449a-94f8-44f8d45360a0n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 7 Sep 2023 14:42:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b1bf7855ed6e02a7ae7ae3286e376be2";
logging-data="3185109"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lZytUVusZIKkOcMLciGId"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:GL61HGlNM/Rwcs3rvn45F1phBe8=
Content-Language: it
In-Reply-To: <fac636e2-ae06-449a-94f8-44f8d45360a0n@googlegroups.com>
 by: Enrico Maria Giordan - Thu, 7 Sep 2023 14:42 UTC

Il 07/09/2023 16:31, Claudio H ha scritto:

> Thanks Enrico.
> Can you please post or send to my email a basic htm file to see the content?

I used this for my test:

<html>
<body>
<br>
<br>
<br>
<br>
<br>

<center>
<h1><b>This is a test</b></h1>
</center>
</body>
</html>

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor