What should be the PHPMailer settings for GoDaddy for sending email?Sending email in .NET through GmailWhat is the maximum length of a valid email address?Username without Email Extension in PHPMailerPHPMailer - SMTP ERROR: Password command failed when send mail from my serverSending Email using godaddy smtp relay and PHPMailer on codeigniterPHPMailer didn't send email messageGodaddy phpmailer smpt configurationPhpmailer not sending email on same domainHow to set timeout in Account verification through gmail?PHPMailer wont Work 000webhost
What does Fisher mean by this quote?
Short story about a teenager who has his brain replaced with a microchip (Psychological Horror)
Colleagues speaking another language and it impacts work
French equivalent of "Make leaps and bounds"
How does The Fools Guild make its money?
4-dimensional Knight's Tour
What word can be used to describe a bug in a movie?
How to explain to a team that the project they will work for 6 months will 100% fail?
Did silent film actors actually say their lines or did they simply improvise “dialogue” while being filmed?
Independent table row spacing
Why do proponents of guns oppose gun competency tests?
Does bottle color affect mold growth?
Sparse matrix processing: flip sign of top-left entries of the matrix
Could one become a successful researcher by writing some really good papers while being outside academia?
Did WWII Japanese soldiers engage in cannibalism of their enemies?
youtube video IP
Double blind peer review when paper cites author's GitHub repo for code
Why should public servants be apolitical?
Is it true that control+alt+delete only became a thing because IBM would not build Bill Gates a computer with a task manager button?
Is there a loss of quality when converting RGB to HEX?
Unexpected route on a flight from USA to Europe
Secure my password from unsafe servers
Finish the Mastermind
Do the Kraus operators of a CPTP channel need to be orthogonal?
What should be the PHPMailer settings for GoDaddy for sending email?
Sending email in .NET through GmailWhat is the maximum length of a valid email address?Username without Email Extension in PHPMailerPHPMailer - SMTP ERROR: Password command failed when send mail from my serverSending Email using godaddy smtp relay and PHPMailer on codeigniterPHPMailer didn't send email messageGodaddy phpmailer smpt configurationPhpmailer not sending email on same domainHow to set timeout in Account verification through gmail?PHPMailer wont Work 000webhost
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
What will be the settings for the godaddy for sending email?
$mail->isSMTP();
$mail->Host = 'mail.trottolaw.com';
$mail->SMTPAuth = true;
$mail->Username = 'info@trottolaw.com';
$mail->Password = 'my password';
$mail->SMTPSecure = 'tls';
$mail->Port = 587;
$mail->addReplyTo('info@trottolaw.com','Mazhar');
$mail->setFrom('info@trottolaw.com', 'Mazhar');
$mail->addAddress('contact@trottolaw.com', 'Mazhar');
$mail->addAddress('contact@trottolaw.com');
I was expecting it to send email but it's not sending any email and also not giving any error message.
php email phpmailer email-integration
add a comment |
What will be the settings for the godaddy for sending email?
$mail->isSMTP();
$mail->Host = 'mail.trottolaw.com';
$mail->SMTPAuth = true;
$mail->Username = 'info@trottolaw.com';
$mail->Password = 'my password';
$mail->SMTPSecure = 'tls';
$mail->Port = 587;
$mail->addReplyTo('info@trottolaw.com','Mazhar');
$mail->setFrom('info@trottolaw.com', 'Mazhar');
$mail->addAddress('contact@trottolaw.com', 'Mazhar');
$mail->addAddress('contact@trottolaw.com');
I was expecting it to send email but it's not sending any email and also not giving any error message.
php email phpmailer email-integration
Have you added$mail->Send();
in last?
– aagjalpankaj
Mar 27 at 6:00
yes i have added
– MD.Mazharul Islam
Mar 27 at 10:46
add a comment |
What will be the settings for the godaddy for sending email?
$mail->isSMTP();
$mail->Host = 'mail.trottolaw.com';
$mail->SMTPAuth = true;
$mail->Username = 'info@trottolaw.com';
$mail->Password = 'my password';
$mail->SMTPSecure = 'tls';
$mail->Port = 587;
$mail->addReplyTo('info@trottolaw.com','Mazhar');
$mail->setFrom('info@trottolaw.com', 'Mazhar');
$mail->addAddress('contact@trottolaw.com', 'Mazhar');
$mail->addAddress('contact@trottolaw.com');
I was expecting it to send email but it's not sending any email and also not giving any error message.
php email phpmailer email-integration
What will be the settings for the godaddy for sending email?
$mail->isSMTP();
$mail->Host = 'mail.trottolaw.com';
$mail->SMTPAuth = true;
$mail->Username = 'info@trottolaw.com';
$mail->Password = 'my password';
$mail->SMTPSecure = 'tls';
$mail->Port = 587;
$mail->addReplyTo('info@trottolaw.com','Mazhar');
$mail->setFrom('info@trottolaw.com', 'Mazhar');
$mail->addAddress('contact@trottolaw.com', 'Mazhar');
$mail->addAddress('contact@trottolaw.com');
I was expecting it to send email but it's not sending any email and also not giving any error message.
php email phpmailer email-integration
php email phpmailer email-integration
edited Mar 27 at 10:08
NewOnStackoverflow
481 silver badge11 bronze badges
481 silver badge11 bronze badges
asked Mar 27 at 5:55
MD.Mazharul IslamMD.Mazharul Islam
62 bronze badges
62 bronze badges
Have you added$mail->Send();
in last?
– aagjalpankaj
Mar 27 at 6:00
yes i have added
– MD.Mazharul Islam
Mar 27 at 10:46
add a comment |
Have you added$mail->Send();
in last?
– aagjalpankaj
Mar 27 at 6:00
yes i have added
– MD.Mazharul Islam
Mar 27 at 10:46
Have you added
$mail->Send();
in last?– aagjalpankaj
Mar 27 at 6:00
Have you added
$mail->Send();
in last?– aagjalpankaj
Mar 27 at 6:00
yes i have added
– MD.Mazharul Islam
Mar 27 at 10:46
yes i have added
– MD.Mazharul Islam
Mar 27 at 10:46
add a comment |
2 Answers
2
active
oldest
votes
Search before you post; This has been asked and answered many times before. Also, why would you not look at GoDaddy's support area before posting here?
GoDaddy blocks outbound SMTP; you cannot use any SMTP servers other than GoDaddy's own. This also means you usually cannot use your own email addresses as from addresses because it will cause SPF failures (unless you add GoDaddy to your SPF, which isn't a good idea).
To send through GoDaddy's servers, either do not use SMTP at all (which means that PHPMailer will fall back to using mail(), which will send via localhost, and that works with GoDaddy's shared hosting), or use these settings:
$mail->isSMTP();
$mail->Host = 'relay-hosting.secureserver.net';
$mail->Port = 25;
$mail->SMTPAuth = false;
You don't need to provide a username or password as it whitelists shared hosts.
now i am using $mail->isSMTP(); $mail->Host = 'relay-hosting.secureserver.net'; $mail->Port = 25; $mail->SMTPAuth = false; $mail->addAddress('info@trottolaw.com', 'Mazhar'); $mail->addAddress('info@trottolaw.com'); Now it's showing " Message could not be sent.Mailer Error: SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"
– MD.Mazharul Islam
Mar 27 at 10:43
You could also try settingHost
tolocalhost
orrelay.secureserver.net
. Beyond that, ask GoDaddy support - it's what you're paying them for.
– Synchro
Mar 27 at 11:51
add a comment |
I also went through the same issue of mails not being sent and recieved from Godaddy.
The following steps solved my issue:
1) Go to Cpanel
2) Click on MX Entry under Email Section
3) Check Email Routing
4) If you are using Cpanel emails then you need to select Local Mail Exchanger and If you are using Google or any external email service then you need to select Remote Mail Exchanger.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55370639%2fwhat-should-be-the-phpmailer-settings-for-godaddy-for-sending-email%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Search before you post; This has been asked and answered many times before. Also, why would you not look at GoDaddy's support area before posting here?
GoDaddy blocks outbound SMTP; you cannot use any SMTP servers other than GoDaddy's own. This also means you usually cannot use your own email addresses as from addresses because it will cause SPF failures (unless you add GoDaddy to your SPF, which isn't a good idea).
To send through GoDaddy's servers, either do not use SMTP at all (which means that PHPMailer will fall back to using mail(), which will send via localhost, and that works with GoDaddy's shared hosting), or use these settings:
$mail->isSMTP();
$mail->Host = 'relay-hosting.secureserver.net';
$mail->Port = 25;
$mail->SMTPAuth = false;
You don't need to provide a username or password as it whitelists shared hosts.
now i am using $mail->isSMTP(); $mail->Host = 'relay-hosting.secureserver.net'; $mail->Port = 25; $mail->SMTPAuth = false; $mail->addAddress('info@trottolaw.com', 'Mazhar'); $mail->addAddress('info@trottolaw.com'); Now it's showing " Message could not be sent.Mailer Error: SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"
– MD.Mazharul Islam
Mar 27 at 10:43
You could also try settingHost
tolocalhost
orrelay.secureserver.net
. Beyond that, ask GoDaddy support - it's what you're paying them for.
– Synchro
Mar 27 at 11:51
add a comment |
Search before you post; This has been asked and answered many times before. Also, why would you not look at GoDaddy's support area before posting here?
GoDaddy blocks outbound SMTP; you cannot use any SMTP servers other than GoDaddy's own. This also means you usually cannot use your own email addresses as from addresses because it will cause SPF failures (unless you add GoDaddy to your SPF, which isn't a good idea).
To send through GoDaddy's servers, either do not use SMTP at all (which means that PHPMailer will fall back to using mail(), which will send via localhost, and that works with GoDaddy's shared hosting), or use these settings:
$mail->isSMTP();
$mail->Host = 'relay-hosting.secureserver.net';
$mail->Port = 25;
$mail->SMTPAuth = false;
You don't need to provide a username or password as it whitelists shared hosts.
now i am using $mail->isSMTP(); $mail->Host = 'relay-hosting.secureserver.net'; $mail->Port = 25; $mail->SMTPAuth = false; $mail->addAddress('info@trottolaw.com', 'Mazhar'); $mail->addAddress('info@trottolaw.com'); Now it's showing " Message could not be sent.Mailer Error: SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"
– MD.Mazharul Islam
Mar 27 at 10:43
You could also try settingHost
tolocalhost
orrelay.secureserver.net
. Beyond that, ask GoDaddy support - it's what you're paying them for.
– Synchro
Mar 27 at 11:51
add a comment |
Search before you post; This has been asked and answered many times before. Also, why would you not look at GoDaddy's support area before posting here?
GoDaddy blocks outbound SMTP; you cannot use any SMTP servers other than GoDaddy's own. This also means you usually cannot use your own email addresses as from addresses because it will cause SPF failures (unless you add GoDaddy to your SPF, which isn't a good idea).
To send through GoDaddy's servers, either do not use SMTP at all (which means that PHPMailer will fall back to using mail(), which will send via localhost, and that works with GoDaddy's shared hosting), or use these settings:
$mail->isSMTP();
$mail->Host = 'relay-hosting.secureserver.net';
$mail->Port = 25;
$mail->SMTPAuth = false;
You don't need to provide a username or password as it whitelists shared hosts.
Search before you post; This has been asked and answered many times before. Also, why would you not look at GoDaddy's support area before posting here?
GoDaddy blocks outbound SMTP; you cannot use any SMTP servers other than GoDaddy's own. This also means you usually cannot use your own email addresses as from addresses because it will cause SPF failures (unless you add GoDaddy to your SPF, which isn't a good idea).
To send through GoDaddy's servers, either do not use SMTP at all (which means that PHPMailer will fall back to using mail(), which will send via localhost, and that works with GoDaddy's shared hosting), or use these settings:
$mail->isSMTP();
$mail->Host = 'relay-hosting.secureserver.net';
$mail->Port = 25;
$mail->SMTPAuth = false;
You don't need to provide a username or password as it whitelists shared hosts.
answered Mar 27 at 7:26
SynchroSynchro
20.6k9 gold badges55 silver badges72 bronze badges
20.6k9 gold badges55 silver badges72 bronze badges
now i am using $mail->isSMTP(); $mail->Host = 'relay-hosting.secureserver.net'; $mail->Port = 25; $mail->SMTPAuth = false; $mail->addAddress('info@trottolaw.com', 'Mazhar'); $mail->addAddress('info@trottolaw.com'); Now it's showing " Message could not be sent.Mailer Error: SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"
– MD.Mazharul Islam
Mar 27 at 10:43
You could also try settingHost
tolocalhost
orrelay.secureserver.net
. Beyond that, ask GoDaddy support - it's what you're paying them for.
– Synchro
Mar 27 at 11:51
add a comment |
now i am using $mail->isSMTP(); $mail->Host = 'relay-hosting.secureserver.net'; $mail->Port = 25; $mail->SMTPAuth = false; $mail->addAddress('info@trottolaw.com', 'Mazhar'); $mail->addAddress('info@trottolaw.com'); Now it's showing " Message could not be sent.Mailer Error: SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"
– MD.Mazharul Islam
Mar 27 at 10:43
You could also try settingHost
tolocalhost
orrelay.secureserver.net
. Beyond that, ask GoDaddy support - it's what you're paying them for.
– Synchro
Mar 27 at 11:51
now i am using $mail->isSMTP(); $mail->Host = 'relay-hosting.secureserver.net'; $mail->Port = 25; $mail->SMTPAuth = false; $mail->addAddress('info@trottolaw.com', 'Mazhar'); $mail->addAddress('info@trottolaw.com'); Now it's showing " Message could not be sent.Mailer Error: SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"
– MD.Mazharul Islam
Mar 27 at 10:43
now i am using $mail->isSMTP(); $mail->Host = 'relay-hosting.secureserver.net'; $mail->Port = 25; $mail->SMTPAuth = false; $mail->addAddress('info@trottolaw.com', 'Mazhar'); $mail->addAddress('info@trottolaw.com'); Now it's showing " Message could not be sent.Mailer Error: SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting"
– MD.Mazharul Islam
Mar 27 at 10:43
You could also try setting
Host
to localhost
or relay.secureserver.net
. Beyond that, ask GoDaddy support - it's what you're paying them for.– Synchro
Mar 27 at 11:51
You could also try setting
Host
to localhost
or relay.secureserver.net
. Beyond that, ask GoDaddy support - it's what you're paying them for.– Synchro
Mar 27 at 11:51
add a comment |
I also went through the same issue of mails not being sent and recieved from Godaddy.
The following steps solved my issue:
1) Go to Cpanel
2) Click on MX Entry under Email Section
3) Check Email Routing
4) If you are using Cpanel emails then you need to select Local Mail Exchanger and If you are using Google or any external email service then you need to select Remote Mail Exchanger.
add a comment |
I also went through the same issue of mails not being sent and recieved from Godaddy.
The following steps solved my issue:
1) Go to Cpanel
2) Click on MX Entry under Email Section
3) Check Email Routing
4) If you are using Cpanel emails then you need to select Local Mail Exchanger and If you are using Google or any external email service then you need to select Remote Mail Exchanger.
add a comment |
I also went through the same issue of mails not being sent and recieved from Godaddy.
The following steps solved my issue:
1) Go to Cpanel
2) Click on MX Entry under Email Section
3) Check Email Routing
4) If you are using Cpanel emails then you need to select Local Mail Exchanger and If you are using Google or any external email service then you need to select Remote Mail Exchanger.
I also went through the same issue of mails not being sent and recieved from Godaddy.
The following steps solved my issue:
1) Go to Cpanel
2) Click on MX Entry under Email Section
3) Check Email Routing
4) If you are using Cpanel emails then you need to select Local Mail Exchanger and If you are using Google or any external email service then you need to select Remote Mail Exchanger.
answered Mar 27 at 9:43
NewOnStackoverflowNewOnStackoverflow
481 silver badge11 bronze badges
481 silver badge11 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55370639%2fwhat-should-be-the-phpmailer-settings-for-godaddy-for-sending-email%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you added
$mail->Send();
in last?– aagjalpankaj
Mar 27 at 6:00
yes i have added
– MD.Mazharul Islam
Mar 27 at 10:46