SMTP Authentication (very) basic question

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
ashleyK
Forum Newbie
Posts: 11
Joined: Tue Mar 18, 2008 8:10 am

SMTP Authentication (very) basic question

Post by ashleyK »

I am setting up a new website for a client on my reseller hosting account.

They want to keep their mail server running with no changes.

My reseller hosting account has an SMTP server which I want to hook Swift Mailer into in order to send confirmation e-mails etc from scripts running on the webserver.

I do not have a username or password to use with this SMTP server as I don't have any mailboxes set up (the client wants to keep their original mail server running)

Can I use SMTP Authentication in this situation or am I barking up the wrong tree?
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: SMTP Authentication (very) basic question

Post by Benjamin »

You can use either the SMTP server on the box or your clients, but either way it needs a server address, user name and password in order to send mail.
ashleyK
Forum Newbie
Posts: 11
Joined: Tue Mar 18, 2008 8:10 am

Re: SMTP Authentication (very) basic question

Post by ashleyK »

Thanks for the reply.

Does this mean that if I set up a mail account on the webserver box, it will let me do SMTP Authentication even though the account isn't running on the primary mailserver (as found in DNS)
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: SMTP Authentication (very) basic question

Post by Benjamin »

Uhhh I would think so? Can't hurt to give it a try.
ashleyK
Forum Newbie
Posts: 11
Joined: Tue Mar 18, 2008 8:10 am

Re: SMTP Authentication (very) basic question

Post by ashleyK »

Yes, giving it a try is my next course of action.

Thanks for putting up with my simpleton questions
Post Reply