Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,217,635 members, 8,034,923 topics. Date: Sunday, 22 December 2024 at 04:20 PM

Sending Email - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Sending Email (3015 Views)

Mass Email Sending: Frustrations Of A Yahoo Wannabe / Sending Emails With Php / Sending Bulk Emails (2) (3) (4)

(1) (Reply) (Go Down)

Sending Email by walterjnr(m): 8:39pm On Apr 18, 2019
i am developing a project that has to do with email confirmation i.e sending email during registration. The problem is that it works on localhost but after hosting the site or project , it does not work again.

i used gmail server in sending the email which works well on localhost.


Also, my contact us form is not working also but in this one i used php mail() function not gmail.

please developers help.
Re: Sending Email by Echatbook: 9:00pm On Apr 18, 2019
are you getting any errors in the log?
Re: Sending Email by walterjnr(m): 9:34pm On Apr 18, 2019
Yes
Re: Sending Email by walterjnr(m): 9:35pm On Apr 18, 2019
That same code works well on localhost
Re: Sending Email by Echatbook: 10:25pm On Apr 18, 2019
Can you post the error you are getting
Re: Sending Email by Duchman67: 9:19am On Apr 19, 2019
Think your hosting company is blocking port 25. Check that port.

1 Like

Re: Sending Email by walterjnr(m): 9:20am On Apr 19, 2019
I was using port 25 and tls
Re: Sending Email by walterjnr(m): 9:21am On Apr 19, 2019
Will post the error
Re: Sending Email by Duchman67: 9:26am On Apr 19, 2019
walterjnr:
I was using port 25 and tls

Try the email with another port. Check out integration with mailgun,sendgrid etc

1 Like

Re: Sending Email by walterjnr(m): 10:57am On Apr 19, 2019
This is the error i got


2019-04-19 07:07:13 SMTP ERROR: Failed to connect to server: Network is unreachable (101) 2019-04-19 07:07:13 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Re: Sending Email by Damzed(f): 2:36pm On Apr 19, 2019
You are using a mail function that is disabled on your host server. You should use SMTP Function for sending email from your website and you can contact your host company to give you their preferred SMTP settings.
Re: Sending Email by makavele: 8:03pm On Apr 19, 2019
Try port 465 (SSL/TLS) . . .

While it is always recommended to use port 587 (STARTTLS); it seems port only 465 works

is happily loved by gmail
Re: Sending Email by darexkey(m): 8:01am On Apr 20, 2019
walterjnr:
i am developing a project that has to do with email confirmation i.e sending email during registration. The problem is that it works on localhost but after hosting the site or project , it does not work again.

i used gmail server in sending the email which works well on localhost.


Also, my contact us form is not working also but in this one i used php mail() function not gmail.

please developers help.

Contact me on whatsapp 07039359066. I have an alternative solution
Re: Sending Email by walterjnr(m): 5:57pm On Apr 20, 2019
makavele:
Try port 465 (SSL/TLS) . . .

While it is always recommended to use port 587 (STARTTLS); it seems port only 465 works

is happily loved by gmail



Have tried 465 and 995
Re: Sending Email by walterjnr(m): 5:59pm On Apr 20, 2019
Damzed:
You are using a mail function that is disabled on your host server. You should use SMTP Function for sending email from your website and you can contact your host company to give you their preferred SMTP settings.

Have informed them but they can't still help.

Have even copied them my mailing script
Re: Sending Email by makavele: 8:12pm On Apr 20, 2019
walterjnr:




Have tried 465 and 995

Use a third-party mail traffic analyzer like MailTrap and see if it delivers . .
Re: Sending Email by walterjnr(m): 12:50pm On Apr 21, 2019
makavele:


Use a third-party mail traffic analyzer like MailTrap and see if it delivers . .


Thanks Bro

Let me try that
Re: Sending Email by makavele: 3:58pm On Apr 21, 2019
walterjnr:


Thanks Bro

Let me try that

Yeah man , lemme know how it goes
Re: Sending Email by walterjnr(m): 6:33pm On Apr 22, 2019
makavele:


Yeah man , lemme know how it goes

have shut down on it.

even whogohost can'"t help
Re: Sending Email by makavele: 6:46pm On Apr 22, 2019
walterjnr:


have shut down on it.

even whogohost can'"t help

Then the fault is from you my friend.
You shut down a whole project just cos you had mail diagnostic issues? Says a lot about your programming fundamentals.
Re: Sending Email by walterjnr(m): 11:00am On Apr 24, 2019
makavele:


Then the fault is from you my friend.
You shut down a whole project just cos you had mail diagnostic issues? Says a lot about your programming fundamentals.


I mean i am not using phpmailer again i have already deployed php mail() and is working well for me.
Re: Sending Email by walterjnr(m): 12:49pm On Apr 25, 2019
makavele:


Then the fault is from you my friend.
You shut down a whole project just cos you had mail diagnostic issues? Says a lot about your programming fundamentals.


makavele please your whatapp number and face ook username . Thanks
Re: Sending Email by makavele: 5:18pm On Apr 25, 2019
walterjnr:



makavele please your whatapp number and face ook username . Thanks

I just followed you on NL. Check your NL email
and we'll be able to exchange private data back and forth. Thanks
Re: Sending Email by Derrils: 6:14pm On Jun 11, 2019
Hey, that interesting question. Email marketing is a very user-friendly and cost-effective form of marketing. It is used all around the world to a large extent which allows the business to communicate and get in touch directly with their customers. A quality email campaign can quickly generate both sales and brand awareness. In simple words, email marketing is a very lucid form of marketing and cost effective if done correctly. I use these consultants when I get complex email-related questions - https://balabanov.co/solutions/email-marketing/
Re: Sending Email by Herinya: 11:22am On Jul 26, 2022
Hello,
Import EML files to Outlook with this useful utility! This EML files utility allows importing EML files to Outlook through an intuitive graphical interface. Just follow our simple step by step instructions and import EML files to Outlook quickly and easily. More info here.

(1) (Reply)

Who Built Theses Apps. Wificall App, Oride App, And Kobo360 App / How Much To Ask As Salary As A Developer? / Please Help. How To Create A Database For A Car Rental

Viewing this topic: 1 guest(s)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 24
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.