Jump to content

Problem with Email Configuration and Contact Form cannot be sent


Recommended Posts

I'm struggling with email setup and contact form (ver.1.4)

1. I set contact email with SMTP using SMTP server, user, password provided by free hosting but e-mail test failed all the times.

2. Also when I tried sending message through Contact Form, it turned to white page and text;

Fatal error: Class 'Swift_Message_Attachment' not found in /home/............./public_html/tools/swift/Swift/Message/EmbeddedFile.php on line 20

I didn't attach any file but above message came up.

What I guess is I did something wrong with SMTP setup. Following are what the hosting gave me.

POP3 Host Address: mail.xxxxxxxxx.com
SMTP Host Address: mail.xxxxxxxxx.com

Mail Server Username: contact+xxxxxxxxx.com
Incoming Mail Server: mail.xxxxxxxxx.com
Incoming Mail Server: (SSL) eu1.freehosting.com
Outgoing Mail Server: mail.xxxxxxxxx.com (server requires authentication) port 25
Outgoing Mail Server: (SSL) eu1.freehosting.com (server requires authentication) port 465
Supported Incoming Mail Protocols: POP3, POP3S (SSL/TLS), IMAP, IMAPS (SSL/TLS)
Supported Outgoing Mail Protocols: SMTP, SMTPS (SSL/TLS)

Currently i used SMTP ; mail.xxxxxxxxx.com, Port 25, SSL
Even I have been trying to switch above stuff, still it didn't work.

Can anyone help me solving these problems. I'm not familiar with codes or scripts at all.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...