SMTP Send Email Attachment with Password
Martin Obongita
martin.obongita at yahoo.com
Fri Aug 23 10:42:26 UTC 2024
| Response headers:
X-Firefox-Spdy | h2 |
| age | 2 |
| content-length | 79 |
| content-type | application/json |
| date | Fri, 23 Aug 2024 10:35:25 GMT |
| expect-ct | max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" |
| referrer-policy | no-referrer-when-downgrade |
| server | ATS |
| strict-transport-security | max-age=31536000 |
| x-content-type-options | nosniff |
| x-frame-options | SAMEORIGIN |
| x-server-chain | jws700107.mail.ir2.yahoo.com |
| x-server-response-time | 1048ms |
| x-server-timestamp | Fri, 23 Aug 2024 10:35:25 GMT |
| x-xss-protection | 1; mode=block |
Request headers:
| Accept | text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8 |
| Accept-Encoding | gzip, deflate, br, zstd |
| Accept-Language | en-US,en;q=0.5 |
| Connection | keep-alive |
| Host | dl-mail.ymail.com |
| Priority | u=0, i |
| Referer | https://mail.yahoo.com/ |
| Sec-Fetch-Dest | document |
| Sec-Fetch-Mode | navigate |
| Sec-Fetch-Site | cross-site |
| Sec-Fetch-User | ?1 |
| Upgrade-Insecure-Requests | 1 |
| User-Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:129.0) Gecko/20100101 Firefox/129.0 |
These are the details for the PDF password-protected file attachment received from SMTPSend OS3 sample lib. Any further help is appreciated.
Regards,
Martin Obongita.
On Friday, August 23, 2024 at 02:02:30 AM GMT+3, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
I have just been informed that SMTP send does not work with "TO Recipient" multiple email addresses with the same attachment. Has anyone found a solution to this issue? I'm working with OS10.22.
On Thursday, August 22, 2024 at 04:42:32 PM GMT+3, Doug Easterbrook via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
hi Rob
I’ve used this web site in the past to check various mail server setup parameters
https://mxtoolbox.com/diagnostic.aspx
seems they only provide some of the basic test for free now, the rest are ‘upgrades'
try the basic test and see that it passes everything. you can then decide if you want to pay for other diagnostics.
Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at artsman.com
http://www.artsman.com
Phone (403) 650-1978
> On Aug 22, 2024, at 2:26 AM, Rob Mostyn <mostyn at platformis.net> wrote:
>
> Thank you Rudolf and Doug,
> I have setup the DNS/Mail entries with an SPF but it looks like it needs further attention.
>
> Cheers,
> Rob Mostyn
>
>> On 21 Aug 2024, at 17:58, Doug Easterbrook via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>>
>> to add to Rudolf’s note.
>>
>> Apple publishes a useful list of things to look at
>> like SPF, DKIM, proper reverse DNS to domain to properly identify your IP address.
>>
>> and more.
>>
>> https://support.apple.com/en-us/102322
>>
>>
>>
>> We use mailgun to send things out if we need to do email blasts.. they handle most things well, but you still need to get a few of the setup right.
>>
>>
>> Doug Easterbrook
>> Arts Management Systems Ltd.
>> mailto:doug at artsman.com
>> http://www.artsman.com
>> Phone (403) 650-1978
>>
>>> On Aug 20, 2024, at 4:11 AM, Rudolf Bargholz <rudolf at bargholz.ch> wrote:
>>>
>>> Hi Rob,
>>>
>>> Sending emails has become a complicated subject. Often a recipient of a mail will check your domain for a valid SPF record for the sender domain part of the mail. The SPF record gives a recipient information if the sending mail server is allowed to send mails from a specific domain. We have set up an SPF record on the domain bargholz.ch . If I now try to send a mail as the sender rudolf at omnis.net, the recipient will see, that the sender does not have an SPF record that allows to send mails as omnis.net, and the recipient can reject the mail, as it thinks the sending mail server is an open relay.
>>>
>>> Probably your issue is less to do with Omnis, but more with security features in the realm of sending and receiving mails. If you are sending mails for your customers, they will need to add the IP address of your mail server to the SPF records in their domain, this for each of your customers. We require our customers to set up an email address on their mail server that we can use, and then send mails using their mail server using their supplied email-address. This allows us to avoid these issues.
>>>
>>> Regards
>>>
>>> Rudolf
>>>
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> Im Auftrag von Rob Mostyn
>>> Gesendet: Dienstag, 20. August 2024 11:55
>>> An: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
>>> Betreff: Re: SMTP Send Email Attachment with Password
>>>
>>> I too have had a lot of difficulty sending emails with attachments from Omnis.
>>> I get a different error message though… Relay not permitted.
>>> Sending the same message and attachments from my Mail client works fine.
>>>
>>> I haven’t got to the bottom of it yet, too distracted with more pressing issues.
>>> But I am wondering if there are some specific headers that are being included by Mail clients that we should be adding to the email being sent in Omnis. I have no idea what needs to be included though.
>>>
>>> Headers is the only obvious thing that is different between sending from Mail client v. Omnis.
>>>
>>> Any other ideas? The fact that the email being sent is being recorded in a “Sent” folder?
>>>
>>> Cheers,
>>> Rob
>>>
>>>
>>>> On 20 Aug 2024, at 10:06, Rudolf Bargholz <rudolf at bargholz.ch> wrote:
>>>>
>>>> Hi Martin,
>>>>
>>>> Try to send the mail from Outlook. See if the attachment can be opened. If yes, save the file as a MSG file, then use one of the many converters to convert the mail to EML format, e.g. https://www.zamzar.com/. Have a look at the contents of the EML file in a text editor. Perhaps you can glean some information about missing parameters in the MIME list from the EML formatted mail that successfully sent your PDF.
>>>>
>>>> Regards
>>>>
>>>> Rudolf Bargholz
>>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> Im Auftrag von Martin Obongita via omnisdev-en
>>>> Gesendet: Montag, 19. August 2024 23:16
>>>> An: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
>>>> Cc: Martin Obongita <martin.obongita at yahoo.com>
>>>> Betreff: Re: SMTP Send Email Attachment with Password
>>>>
>>>> Hi Mike,
>>>> Yes, if I use Outlook or Yahoo mail, the PDF is delivered and prompts for a password to open. Only in Omnis SMTPSend does it fail to prompt and is unable to open.
>>>>
>>>> Instead opens the error message shown below:
>>>> { "error": { "code": "ET-5006", "requestId": "f28b4fe3-ad0b-1672-1cff-d30000011d00" }}
>>>>
>>>>
>>>> Kind regards, Martin.
>>>>
>>>>
>>>> On Tuesday, August 20, 2024 at 12:12:15 AM GMT+3, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>>>>
>>>> Hi Mike,
>>>> Yes, if I use Outlook or Yahoo mail, the PDF is delivered and prompts for a password to open it. Only in Omnis SMTP does not fail to prompt and is unable to open.
>>>> Instead opens an error message shown below:
>>>> { "error": { "code": "ET-5006", "requestId": "f28b4fe3-ad0b-1672-1cff-d30000011d00" }}
>>>>
>>>>
>>>>
>>>>
>>>> Kind regardsMartin.
>>>>
>>>>
>>>> On Monday, August 19, 2024 at 01:37:37 PM GMT+3, Mike Matthews - Omnis via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>>>>
>>>> Hello Martin,
>>>>
>>>> I would tend to agree here. Maybe the email client can’t test the file fist, so maybe an AV issue possibly?
>>>>
>>>> If you send the password PDF from the same computer, but using a regular email client, does to open then?
>>>>
>>>> Mike Matthews
>>>>
>>>> Lineal Software Solutions
>>>> Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
>>>>
>>>> omnis at lineal.co.uk<mailto:mike.matthews at lineal.co.uk>
>>>>
>>>> www.lineal.co.uk<http://www.lineal.co.uk/>
>>>>
>>>> www.sqlworks.co.uk<http://www.sqlworks.co/>
>>>>
>>>>
>>>>
>>>> On 19 Aug 2024, at 09:34, Phil (OmnisList) <phil at pgpotter.co.uk<mailto:phil at pgpotter.co.uk>> wrote:
>>>>
>>>> Caution: This is a message which has originated from outside the organisation. Ensure the sender is trusted and the content is safe before opening links or attachments.
>>>>
>>>>
>>>>
>>>> Martin,
>>>>
>>>> That sounds more like a problem with your email client, not how you are
>>>> sending it.
>>>>
>>>> There is no difference sending an encrypted pdf against an unencrypted pdf.
>>>>
>>>> regards
>>>> Phil Potter
>>>> Based in Chester in the UK.
>>>>
>>>> On 19/08/2024 09:27, Martin Obongita via omnisdev-en wrote:
>>>> Hi @Everyone,
>>>> I am using the sample library smtp_ow3 to send emails. If I attach PDF file and click start button, it is sent, delivered and I can open the attachment. The challenge is if I attach a PDF file encrypted with a password, the file is delivered but I cannot open it. Neither does the PDF prompt for a password to open.
>>>> How do I set the attachment MimeList parameters for a password protected file attachment?-MimeType-Charset
>>>> -Encoding
>>>> RegardsMartin.
>>>> _____________________________________________________________
>>>> Manage your list subscriptions athttps://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,EhhMTL6iaf_ulTsQSLNXB2Rj8dFygT671N_-Fwos4Dlhl1rXCF1Ed9TtDYhMNcriuI7xIm7eCTQ9vfeU2vtx45tCAQ9aeHgJ3_4arKwCe3nRyA,,&typo=1
>>>> Start a new message ->mailto:omnisdev-en at lists.omnis-dev.com
>>>> _____________________________________________________________
>>>> Manage your list subscriptions at https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,CSIrHERWP8UJoMmvRK40qF0aRRzKJDnqn1eDJr9FkUFoV_i-GY-AtKRGSsWfIpzw2eFfTQJhLkSGC64kNs4L7V5dmtWPTd3hthFE6MAq1rZ3YEGadJE3q7U7sfHS&typo=1
>>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>>>
>>>> _____________________________________________________________
>>>> Manage your list subscriptions at https://lists.omnis-dev.com
>>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>>>
>>>> _____________________________________________________________
>>>> Manage your list subscriptions at https://lists.omnis-dev.com
>>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>>>
>>>> _____________________________________________________________
>>>> Manage your list subscriptions at https://lists.omnis-dev.com
>>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>>> _____________________________________________________________
>>>> Manage your list subscriptions at https://lists.omnis-dev.com
>>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>>
>>> _____________________________________________________________
>>> Manage your list subscriptions at https://lists.omnis-dev.com
>>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>>
>> _____________________________________________________________
>> Manage your list subscriptions at https://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list