Contact Form 7 - mail not sending on App Engine - php

I have installed latest version 4.8.1 of Contact Form 7 wordpress plug in.
Configured settings with authorised sender but when teting form mail doesnt not send.
Checked the App Engine request logs and found this:
Mail error: Input header 'X-WPCF7-Content-Type: text/plain' is not whitelisted for use with the Google App Engine Mail Service.
I'm not sure of what this error means and therefore how to fix?

Using standard wp_mail is never recommended.
I suggest using Wordpress Easy WP SMTP to set the email sender details.
https://wordpress.org/plugins/easy-wp-smtp/
Then you can tell Wordpress to send from a specific mailbox.
For example anything#[APP_NAME].appspotmail.com
https://cloud.google.com/appengine/docs/standard/java/mail/

you can go to the mail tab option, you find out there is a 'To' input field in this field add you email address for e.g : abc#example.com
and in from field add your name short code for e.g :[your-name] [your-email]
same goes for subject : [your-subject]
add these configuration to your contact-form-7 it will help you out

Related

Sending webforms: envelope sender not allowed

I have a website with a webform which users can use to contact a company. The webform internally creates an email in PHP using PHPMailer and is sending this email via SMTP to the company.
The company has a customer-management-system which identifies the user by looking at the sender of the email. Which means I couldn't send the email from the form from "form#example.com" to "customer-relations#example.com", but need to send it from "customeremail#customerdomain.com" to "customer-relations#example.com".
This worked for some years now, but since some time, we get the error-message:
"envelope sender not allowed customeremail#customerdomain.com"
for example from emails from #gmail.com. Other domains still work.
I understand that it is not good practice to "fake" the sender of the email to make the identification of the customer-management-system work. The developer of the customer-management-systems are not able to offer a solution yet (no comment on that...), so perhaps there are any ideas here which we could try to make this work?

Cannot seem to understand Magento email sending logic

Can someone please explain how Magento(1.9.0) email sending works. I can't seem to find where the file for sending email from a contact form is. I see that the action attribute of the form points to "contacts/index/post/" but I can't seem to trace it.
Also cannot find the mail log or the which module or service magento uses to send the email itself.
I am trying to use external smtp server for multisite Magento and I need to do some custom logic and not some extension.
Please go to app\code\core\Mage\Contacts location to see all the logic of contact.
It is used to send email or anything related to contact.
Also, if we want to change any contact settings then go to system> configuration> contacts(under general tab).
Let me know if anything else you need to know.
Cheers!!

customizing kanboard taskmanager

Kanboard emails are sent from my email via banbo.
and in email body at the end kanboard is writen
how to remove these 2 things
which framework is it using that I can get write path to study it
I have resolved the issue
1- to change email sender edit app/core/EmailClient.php search for via kanboard
2- to change footer of email edit /app/Template/notification/footer.php
but still don't know which framework they have used, that I can study that 1

phpBB3 - dont send activation email for certain mail services

I using phpBB 3.0.12 and encountered with issue:
some mail services like mail ru recognising activation emails from my from like spam messages and return them with 550 error
Oct 27 10:37:02 26sp postfix/smtp[31754]: 33347587974:
to=, orig_to=,
relay=mxs.mail.ru[217.69.139.150]:25, delay=2.5,
delays=0.01/0/0.08/2.4, dsn=5.0.0, status=bounced (host
mxs.mail.ru[217.69.139.150] said: 550 spam message rejected.
Please visit
http://help.mail.ru/notspam-support/id?c=Jdo_XLgUDbBjA8QmVnqeZQShDEMZPvTFdwpE_P3-ufG-37333wCzdKLWRJxdUdKdCgAAAPSVAAAAriEj
or report details to abuse#corp.mail.ru. Error code:
5C3FDA25B00D14B826C40363659E7A56430CA104C5F43E19FC440A77F1B9FEFDF7BDDFBE74B300DF9C44D6A29DD2515D.
ID: 0000000A000095F42321AE00. (in reply to end of DATA command))
550 error means that users marked as spam mailings from forum and mail.ru categorized any mailings as spam. I already send request to support remove forum from spam lists but any email notifications sended by forum doesnt eaven get to emails in mail.ru.
Question: i want write something like don't send email activation if user entered ****#mail.ru in registration. But im not familiar with phpBB.
can someone help me where find function for sending activation emails.
I'll be very appreciate for any help.
IMPORTANT! Before making any changes, make sure you have a back up just in case things go wrong.
Using FTP download from your site this file - language/xx/ucp.php (where xx is the language code, eg. for English it is en)
Open it in a proper text editor that is capable of saving files as UTF8 without BOM and NOT a word processor or Notepad as these can cause problems.
I'll give you the example using the English version as thats what I use on my site...
Look for:
'UCP_ADMIN_ACTIVATE' => 'Please note that you will need to enter a valid e-mail address before your account is activated. The administrator will review your account and if approved you will receive an e-mail at the address you specified.',
and:
'UCP_EMAIL_ACTIVATE' => 'Please note that you will need to enter a valid e-mail address before your account is activated. You will receive an e-mail at the address you provide that contains an account activation link.',
You can change the message in these two lines to suit your needs. Once done, save and upload back to your server using FTP.

How does GitHub 'Reply by Email' work?

I notice that a lot of websites like Facebook and GitHub allow you to reply to an email notification which then posts the reply back to the application using a unique Reply-To address. How does this work on the back-end? I searched a lot but, only found that people were using unique Reply-To addresses. That's understandable but, what do they use to receive these emails? Do these companies set up email servers? I am trying to build this using PHP.
A common method is to set unique message ID's in the outgoing email and then looking at the In-Reply-To header to see which email this was in reply to. That lets you match up your server application's messaging system to emails. For example, if you send an email that represents a help desk ticket with ID 1234, the Message-ID could be something like
ticket-1234#myserver
Then, in email clients that work nicely (I'm looking at you Android), when you hit Reply, the reply has the header In-Reply-To: ticket-1234#mysever. You can go further by adding security tokens to ensure people can't forge messages (e.g. ticket-1234-hf29e9f2gf2e9fh29f#myserver). That security token is generated on the server when you send your first message and is then confirmed in the reply.
This normally works but can cause real headaches when email clients don't behave as they should!
This is how GitLab manages emails by using an identifier in the email address itself and catching it when the user replies. Although it is not relevant to any scripting language like PHP and uses server configs, this is what backend servers do to support reply by email functionality.
You have to set up a mail server to receive mail answers.
SIEVE filters on a IMAP server could be use to make some actions when a certain filter is detected.
But you can't only use PHP to make that type of system.

Categories