xsharp.eu • cSmtp
Page 1 of 1

cSmtp

Posted: Wed May 13, 2020 8:09 am
by ThomasVenus
Hi Folks,
sorry for opening a topic to the old VO 2.8 SP4 classes!
We have a VO Systems, that automatically sends e-mail to customers/suppliers, containing pdf-files, csv-datafiles, ....
For us this system works perfectly and very reliable.
But, since a few weeks our mail-provider (1und1.de / ionos.de) claims that these mails have to comply to FRC2822.
The mailheader has to contain the fields "Date:", "From:", "Sender:" and "To:"
Indeed, our mails do not have the field "Sender:" and i cannot find anything in the VO classes the set the "Sender:"

Is there a chance, that one of you can help me with a solution to this.
Thanx in advance
Thomas

cSmtp

Posted: Wed May 13, 2020 9:04 am
by g.bunzel@domonet.de
Hi Thomas,

we use for senders e-mail:
oEMail:FromAddress := SELF:cFirmaEMail

and senders name:
oEMail:FromName := SELF:cFirmaAbsender


HTH

Gerhard Bunzel

cSmtp

Posted: Wed May 13, 2020 9:09 am
by wriedmann
Hallo Thomas,
the cEmail class has a Cargo variable to set additional header information.
Wolfgang

cSmtp

Posted: Thu May 14, 2020 7:25 am
by ThomasVenus
Gerhard, Wolfgang,
thank you for your thoughts.
Gerhard, we already use the fields you mention. But thanx anyway.
Wolfgang, with the cargo variable i was able to put the "sender" field into the header.
Lets see, what our mailprovider thinks of that ;-)
Thomas