Send emails through SMTP using authentication in magento - php

I am working on a website where after enabling the authentication on SMTP server emails stop working.I installed the SMTP pro extension and on running self test it shows me
ASchroder.com SMTP Pro Self-test results
Testing outbound connectivity to Server:
Using SMTP configuration options
Connection to Host SMTP server successful.
Sending test email to your contact form address donotreply#example.com
Unable to send test email. Exception message was: Sender address is not valid for your login. Check your email program settings. ...
Please check and double check your username and password.
Contact Form test email used SMTPPro to send correctly.
Testing failed,
But this email address works on contact us form and valid email address.Emails are working on contact us form but not for forget password etc .Guide me so that i can fix the issue.Thanks

Related

Unable to send emails using Outlook SMTP accounts

When I send emails using outlook smtp i get following error
The server response was: 554 5.2.0
STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied;
Failed to process message due to a permanent exception with message
Cannot submit message. 16.55847:69000000,
17.43559:0000000060010000000000000000000000000000, 20.521"
I have no problem with other smtp servers.
It relates to that issue
This applies to all email clients using smtp server to send email.
Sometime near the beginning of July, there was a change that
disallowed you using a return email address that is not in your list
of verified email aliases or connected accounts. In other words, you
can't change the "From" field in emails you send to an anonymous email
address.
So to send email from outlook 365 you need add alias email to list of verified emails.

moodle email confirmation not working

I'm configuring Moodle for a school project and there is a problem in email confirmation process.
following are my configurations:
outgoing mail confirmations
SMTP hosts: stmp.gmail.com:465
STMP security:TLS
STMP Auth Type:LOGIN
SMTP username:****#gmail.com [*admin e-mail*]
SMTP password:****
SMTP session limit:1
no-reply domain
no-reply address:***#gmail.com [*admin e-mail*]
Allowed email domains :
Email display settings
Character set : UTF-8
Allow user to select character set :no
Allow attachments: yes
Email via information: always
when user signed up; admin gets a notification that new user required access but the new user wont get any confirmation email.[before and after confirmation from site admin]
no email can be found in spam or inbox.
please help!!!
For the outgoing mail configuration you should just leave all the settings blank or revert them to their defaults. Unless you have a dedicated SMTP server (i.e. one that is hosted within your organisation and is specifically configured to relay outgoing mail from your Moodle server) then you should just let Moodle use PHP's own mail libraries to send mail.
Hope this helps.

Email is not working in Joomla Site [SMTP]

I'm getting an error like :
Notice
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
×
Error
Test mail could not be sent.
My Email Setting as below,
I'm able to telnet my email host. Application is hosted in Linux Server.
hi if you are using Gmail account
refer https://www.lifewire.com/what-are-the-gmail-smtp-settings-1170854
if any other smtp service ask your host provider

Sendding emails is not working on SMF

My forum has a problem with sending emails :
i have configured my mail settings as the following :
Mail Type : smtp
SMTP Host : myhost
Port : 587
Username & password : a valid email account on my domain
when i click on forget password to test sending emails i got the following message in error log:
Sender address is not valid for your login. Check your email program settings
I am pretty sure that this account is correct, and i tried to add test mail script to my host with the following code :
<?php
$mail = mail("myEmail", "wahahahahahaahahahahaa","I like spamming your inbox!!!", "From: Myself<your_email#here.com");
if(!$mail){
echo 'mail is not sent!';
} else {
echo 'mail is sent :-)';
}
?>
and it prints
mail is sent :-)
What i am missing here ?
I agree with Eggyal - it sounds like the hosted SMTP server is not allowing mail to be sent from the MAIL FROM address that you are using, with the authentication credentials that you are using.
To confirm this, and to rule-out a problem with the way that your application is trying to send the message - you might want to try sending a message through this SMTP server using a standard mail client (such as Thunderbird or Outlook), and using the same MAIL FROM address and authentication credentials that your application is using. If this fails with the same error, then you've confirmed that the hosted SMTP server is not allowing mail to be sent from the MAIL FROM address that you are using, with the authentication credentials that you are using.
Problem Solved.
I added my gmail on webmaster email, i changed it to domain email user then the problem is solved

Joomla - SMTP server error: 5.7.1 Client does not have permissions to send as this sender

I cannot make this thing work. One one of the sub-domain we have joomla website configured sending feedback form emails using PHP.
But this website on other domain is configured sending email using SMTP. On submitting the form we see the message
"The following from address failed: jawad.ahmad#mydomain.com
SMTP server error: 5.7.1 Client does not have permissions to send as this sender "
Please help.

Categories