Wordpress - Contact form 7 email not received - wordpress

I am unable to receive email in my configured email in contact form 7 (in word press). All of the email finally end up in my default email account with the subject "Mail delivery failed: returning message to sender"
The body of the email is given as under. One thing i noticed is that the 'recepient' is test#test.com, while i configured the To to my own email id. The snapshot of my config is (I changed my own domain name with sample mydomain for security purposes):
The failure email i end up getting in the default email id is:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
test#test.com
host secureserver.net [85.45.125.0]
SMTP error from remote mail server after RCPT TO:<test#test.com>:
550 5.1.1 <test#test.com> recipient rejected. This is a default recipient used as a placeholder in many web applications. Please check your settings and try again.
------ This is a copy of the message, including all the headers. ------
Return-path: <myname#secureserver.net>
Received: from myname by secureserver.net with local (Exim 4.85)
(envelope-from <myname#secureserver.net>)
id 1Z9pj0-002GGR-NL
for test#test.com; Tue, 30 Jun 2015 00:12:58 -0700
To: test#test.com
Subject: [mydomain! Contact] From hi
X-PHP-Script: www.mydomain.com/index.php for 85.52.214.184
Date: Tue, 30 Jun 2015 07:12:58 +0000
From: hi <test#test.com>
Message-ID: <b325164dd89b7dbe9861fdf0e1f578c1###str_replacement_1##>
X-Priority: 3
X-Mailer: PHPMailer 5.2.7 (https://github.com/PHPMailer/PHPMailer/)
Reply-To: hi#gmail.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Name: hi
Email: hi#gmail.com
Comments: hi hihihi

Sending and receving emails with CF7 works very well for most people. Anyone who has problems should check server configurations and take a look at Contact Form 7 Email Issues.

Related

Wordpress –– Someone using my admin email address / user name to send emails confirming fictitious registrations

Here is their outging email.
---------- Forwarded message ----------
From: tomnora
To: GcxwtJgnCTWXlhaq
Cc:
Bcc:
Date: Tue, 17 Dec 2019 10:18:39 +0000
Subject: Confirm your subscription to TravlGusto
Hello!
Hurray! You've subscribed to our site.
We need you to activate your subscription to the list(s): My first list by clicking the link below:
Click here to confirm your subscription.
Thank you,
The team!
They get bounced, but why is this happening? How do I stop it?
You cannot. Sending email means saying not only what you want to send and who you want to send it to, but also who you are. And you can say that you're anybody you want:
https://en.wikipedia.org/wiki/Email_spoofing

403:forbidden when reading mails from Exchange online using Microsoft.Graph

I have read emails from Exchange online in c#.net using Office 365 API, but getting some issue on response object
(HttpResponseMessage response = await client.SendAsync(request))
i.e
{StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.1, Content:
System.Net.Http.StreamContent, Headers:
{
Transfer-Encoding: chunked
request-id: a0983ea5-313d-4234-b1c6-249f3359c71c
client-request-id: a0983ea5-313d-4234-b1c6-249f3359c71c
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"SouthEast
Asia","Slice":"SliceB","ScaleUnit":"002","Host":"AGSFE_IN_3","ADSiteName":"SIN"}
}
OutBoundDuration: 906.2963
Duration: 1177.9769
Cache-Control: private
Date: Wed, 23 Dec 2015 12:08:42 GMT
Server: Microsoft-IIS/8.5
X-Powered-By: ASP.NET
Content-Type: application/json
}}
For more information :
Please refer this link : http://dev.office.com/getting- started/office365apis
Provide required information login,app name etc.
Download app and run your system
In run time ,error occurred on response object
So Please tell me how to fixed it and let me know if any information required.
Please help me out.
Thanks,
Sheena
You have to register your application on Azure Active Directory (AAD) and set the application permissions to read emails in your app registration.
Check out this presentations starting fromr slide #24:
http://www.mostafaelzoghbi.com/2015/10/identity-and-office-365-presentation-on.html
Hope this helps.
Exchange mailbox access by API was disabled for that account. Please follow https://msdn.microsoft.com/en-us/library/office/dn467892(v=exchg.150).aspx to enable it, e.g. Set-CASMailbox –Identity adam#contoso.com -EwsEnabled:$true

AuthError: Invalid login - 504 5.3.3 AUTH mechanism PLAIN not available

In my Meteor app, I have enabled Accounts.config({sendVerificationEmail: true}) so that a verification email is sent post registration.
As soon as I create a new user, I get the following exception on server side console.
I20150527-23:48:08.157(-7)? - - - - -
I20150527-23:48:08.155(-7)? at smtpSend (packages/email/email.js:76:1)
I20150527-23:48:08.154(-7)? Exception while invoking method 'createUser' AuthError: Invalid login - 504 5.3.3 AUTH mechanism PLAIN not available
I went back and checked the details of AUTH supported.
[mtikmani#host1]$ telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 host1 ESMTP Sendmail 8.14.4/8.14.4; Thu, 28 May 2015 06:50:47 GMT
ehlo <SMTP relayHOST>
250-<host1> Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
**250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5**
250-DELIVERBY
250 HELP
Looks like on my host AUTH PLAIN is not supported and thus the exception. I can't possibly add the AUTH PLAIN as this is maintained by IT guys, and they won't be willing to change it to support AUTH PLAIN.
Q:
a. Is there a way out?
b. Can't I directly use /usr/sbin/sendmail which is propertly configured by IT guys and can be used to send email?
I removed the USERNAME:PASSWORD from my MY_URL env variable and now I am able to send email!!

How to solve error "connection:closed" in SharePoint2010?

Hi , when i deleted site under mysite collection the webapplication
doesnot work and i had this error
HTTP/1.1 200 OK Server: Microsoft-IIS/7.5 Date: Fri, 13 Dec 2013
07:03:54 GMT Connection: close
When I checked the log file I had this :
From Microsoft support page
Cause
This is caused by insufficient permissions for the search service account on the SharePoint Server. Verify that no group policies have been set on the local user groups 'WSS_WPG' and 'WSS_ADMIN_WPG'.
Resolution
Check the system event log for group policy changes that may have occurred around the same time as the search errors. Determine if any group policies have altered permissions on 'WSS_WPG', or WSS_ADMIN_WPG groups
From the folder %COMMONPROGRAMFILES%\Microsoft Shared\web server extensions\14\bin run the Psconfig command-line tool for SharePoint Products as follows:
Psconfig -cmd secureresources

Integrating FOSUserBundle reset email with Amazon SES

I configured my postfix to use Amazon SES when sending Emails.
I am trying to use FOSUserBundle's function to send email for user password reset.
Unfortunately, the mail never arrive to the mailbox, Amazon SES don't accept the emails forged by the FOSUserBundle.
Does anybody what is the matter with this email:
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8
MIME-Version: 1.0
Date: Mon, 15 Oct 2012 04:07:56 +0000
Message-ID: <1350274076.507b8c1c8cee8#www.yourownpoet.com>
From: quilly#YourOwnPoet.com
Subject: blablou
To: toto#gmail.com
Bcc:
<html><body>whatever</body></html>
This doesn't work neither:
Content-Type: multipart/alternative;
boundary="_=_swift_v4_1350274671507b8e6f82b5f_=_"
MIME-Version: 1.0
Date: Mon, 15 Oct 2012 04:17:51 +0000
Message-ID: <1350274671.507b8e6f99894#www.yourownpoet.com>
From: quilly#YourOwnPoet.com
Subject: blablou
To: toto#gmail.com
Bcc:
<html><body>whatever</body></html>
I created my own mailer service in order to try the emails with different headers (I use SwiftMailer). How should I forge my email so that it goes through Amazon SES?
EDIT:
I noticed that other mail with content-type: multipart/mixed; go through SES, but I don't manage to force the content-type field to this value. Is it possible to do it? Here is how i forge the email:
$message = \Swift_Message::newInstance()
->setContentType('multipart/mixed')
->setSubject('blablou')
->setFrom('quilly#YourOwnPoet.com')
->setTo('toto#gmail.com')
->setBody('<html><body>whatever</body></html>', 'text/html')
->addPart('fdsfsd', 'text/plain');
$this->mailer->send($message);
But the content-type is still 'multipart/alternative'..
Allright, found the answer... Leaving the post here, who knows might be useful to someone one day.
The problem wasn't coming from the content-type but from the sender's email adress!
Remember that you have to set which email addresses have the right to send email through ses.. And this email is case sensitive!
You can use the Mailer provided by FOSserBundle without problem, but configure it properly:
config.yml:
fos_user
resetting:
email:
template: YOPYourOwnPoetBundle:Emails:resetEmail.html.twig
from_email:
address: Quilly#YourOwnPoet.com /*set ses accepted email address here */
sender_name: Quilly
service:
mailer: fos_user.mailer.twig_swift

Resources